diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-02-21 18:45:11 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-02-21 18:45:11 +0000 |
commit | 5c03f82a650e3986c37466197d79d85906cce671 (patch) | |
tree | e3dd766777ef56175d09c3c76e51c8535746ba46 /src/or/config.c | |
parent | 6b50f5ae5d1d76f151b7f4ca6cb44cbe6dc05fc3 (diff) | |
download | tor-5c03f82a650e3986c37466197d79d85906cce671.tar tor-5c03f82a650e3986c37466197d79d85906cce671.tar.gz |
r18345@catbus: nickm | 2008-02-21 13:45:04 -0500
Do the last part of arma's fix for bug 437: Track the origin of every addrmap, and use this info so we can remove all the trackhostexits-originated mappings for a given exit.
svn:r13660
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c index ba5ccaa90..461282f8d 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."); } |