summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index ba5ccaa90a..461282f8db 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -3706,7 +3706,7 @@ config_register_addressmaps(or_options_t *options)
log_warn(LD_CONFIG,
"Skipping invalid argument '%s' to MapAddress", to);
} else {
- addressmap_register(from, tor_strdup(to), 0);
+ addressmap_register(from, tor_strdup(to), 0, ADDRMAPSRC_TORRC);
if (smartlist_len(elts)>2) {
log_warn(LD_CONFIG,"Ignoring extra arguments to MapAddress.");
}