aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-12-28 21:29:20 +0000
committerNick Mathewson <nickm@torproject.org>2006-12-28 21:29:20 +0000
commitd9f1f3533d059627266ddcdb0398b4b32c7158f2 (patch)
treea087dc505639ec0108a087360a489dde56be3f4e /src/or/connection.c
parente5f5b96ca6bc35d22478840600c2dfdf2778950f (diff)
downloadtor-d9f1f3533d059627266ddcdb0398b4b32c7158f2.tar
tor-d9f1f3533d059627266ddcdb0398b4b32c7158f2.tar.gz
r11724@Kushana: nickm | 2006-12-28 14:22:35 -0500
Refactor and unify my-ip-addr-changed logic. Make change in IP address or in nameservers reset and relaunch DNS hijacking tests. svn:r9200
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 8b6a209c0..0b2f5c4b2 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -2128,7 +2128,7 @@ client_check_address_changed(int sock)
smartlist_clear(outgoing_addrs);
smartlist_add(outgoing_addrs, ip);
/* Okay, now change our keys. */
- init_keys(); /* XXXX NM return value-- safe to ignore? */
+ ip_address_changed(1);
}
}