diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-04-03 19:43:47 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-04-26 23:54:17 -0400 |
commit | 80adb3de507db4cd67208396e1ea301f131c1228 (patch) | |
tree | f2ada6125e306bfdf4baea7ea8f373043fd162b8 /src/or/connection_edge.h | |
parent | 128582cc1f9fd363f3fb2a96b61fde1701a56970 (diff) | |
download | tor-80adb3de507db4cd67208396e1ea301f131c1228.tar.gz tor-80adb3de507db4cd67208396e1ea301f131c1228.zip |
When there is a transition in permitted nodes, apply it to trackexithosts map
IOW, if we were using TrackExitHosts, and we added an excluded node or
removed a node from exitnodes, we wouldn't actually remove the mapping
that points us at the new node.
Also, note with an XXX022 comment a place that I think we are looking
at the wrong string.
Diffstat (limited to 'src/or/connection_edge.h')
-rw-r--r-- | src/or/connection_edge.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/connection_edge.h b/src/or/connection_edge.h index 0b08dd07ca..c4ae46751d 100644 --- a/src/or/connection_edge.h +++ b/src/or/connection_edge.h @@ -62,6 +62,7 @@ int connection_ap_process_transparent(edge_connection_t *conn); int address_is_invalid_destination(const char *address, int client); void addressmap_init(void); +void addressmap_clear_excluded_trackexithosts(or_options_t *options); void addressmap_clean(time_t now); void addressmap_clear_configured(void); void addressmap_clear_transient(void); |