aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-10-09 21:11:50 +0000
committerRoger Dingledine <arma@torproject.org>2006-10-09 21:11:50 +0000
commit86263acf95c19dea5ef0f2b61334cbc8889e8ab6 (patch)
tree089ee2e37a1cf53717969a552e2727cdb2675e01 /src/or/main.c
parentf1e25da4934a7304eb72636229c90d4380e4aa54 (diff)
downloadtor-86263acf95c19dea5ef0f2b61334cbc8889e8ab6.tar
tor-86263acf95c19dea5ef0f2b61334cbc8889e8ab6.tar.gz
Security bugfixes:
When the user sends a NEWNYM signal, clear the client-side DNS cache too. Otherwise we continue to act on previous information. svn:r8679
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 4e29746ee..9b7e4470c 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1331,6 +1331,7 @@ signal_callback(int fd, short events, void *arg)
#endif
case SIGNEWNYM:
circuit_expire_all_dirty_circs();
+ addressmap_clear_transient();
break;
}
}