summaryrefslogtreecommitdiff
path: root/src/or/entrynodes.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2013-02-09 22:07:22 -0500
committerRoger Dingledine <arma@torproject.org>2013-02-09 22:07:22 -0500
commit74e6a47a808803c985f55b626dff294dbe425043 (patch)
tree9ba39d530438b96f69a04a698ece46b22939862e /src/or/entrynodes.c
parent002c860caee374688f9478dfd6a6e2ebddad791f (diff)
downloadtor-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.c2
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 "