From da8297dbcb6a44d2291878b01779500640e4d0b1 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 13 May 2011 16:59:31 -0400 Subject: Handle transitions in Automap*, VirtualAddrNetwork correctly Previously, if they changed in torrc during a SIGHUP, all was well, since we would just clear all transient entries from the addrmap thanks to bug 1345. But if you changed them from the controller, Tor would leave old mappings in place. The VirtualAddrNetwork bug has been here since 0.1.1.19-rc; the AutomapHosts* bug has been here since 0.2.0.1-alpha. --- src/or/connection_edge.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/or/connection_edge.h') diff --git a/src/or/connection_edge.h b/src/or/connection_edge.h index 70d0dd271..8ba2fafd0 100644 --- a/src/or/connection_edge.h +++ b/src/or/connection_edge.h @@ -62,6 +62,7 @@ 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_clear_invalid_automaps(or_options_t *options); void addressmap_clean(time_t now); void addressmap_clear_configured(void); void addressmap_clear_transient(void); -- cgit v1.2.3