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/control.c | |
parent | 6b50f5ae5d1d76f151b7f4ca6cb44cbe6dc05fc3 (diff) | |
download | tor-5c03f82a650e3986c37466197d79d85906cce671.tar.gz tor-5c03f82a650e3986c37466197d79d85906cce671.zip |
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/control.c')
-rw-r--r-- | src/or/control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c index 3650170bd7..f79709fb2f 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -1260,7 +1260,7 @@ handle_control_mapaddress(control_connection_t *conn, uint32_t len, smartlist_add(reply, ans); } } else { - addressmap_register(from, tor_strdup(to), 1); + addressmap_register(from, tor_strdup(to), 1, ADDRMAPSRC_CONTROLLER); tor_snprintf(ans, anslen, "250-%s", line); smartlist_add(reply, ans); } |