diff options
author | Roger Dingledine <arma@torproject.org> | 2013-02-09 22:07:22 -0500 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2013-02-09 22:07:22 -0500 |
commit | 74e6a47a808803c985f55b626dff294dbe425043 (patch) | |
tree | 9ba39d530438b96f69a04a698ece46b22939862e /src/or/entrynodes.c | |
parent | 002c860caee374688f9478dfd6a6e2ebddad791f (diff) | |
download | tor-74e6a47a808803c985f55b626dff294dbe425043.tar.gz tor-74e6a47a808803c985f55b626dff294dbe425043.zip |
stop setting, or using, router->address
resolves ticket 5528.
Diffstat (limited to 'src/or/entrynodes.c')
-rw-r--r-- | src/or/entrynodes.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c index 282a9a0ce1..263b9f19a4 100644 --- a/src/or/entrynodes.c +++ b/src/or/entrynodes.c @@ -1876,8 +1876,6 @@ rewrite_node_address_for_bridge(const bridge_info_t *bridge, node_t *node) } else { if (tor_addr_family(&bridge->addr) == AF_INET) { ri->addr = tor_addr_to_ipv4h(&bridge->addr); - tor_free(ri->address); - ri->address = tor_dup_ip(ri->addr); ri->or_port = bridge->port; log_info(LD_DIR, "Adjusted bridge routerinfo for '%s' to match configured " |