aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-07-23 11:50:03 +0000
committerRoger Dingledine <arma@torproject.org>2006-07-23 11:50:03 +0000
commite5f00b99d4d7c27af97d7018441f1278fb670857 (patch)
treefc4f7710f149a8001e527a41ca5a6a8823dfde99
parentcc6fe187805a2bac8d0d70eb8de356c8e1422061 (diff)
downloadtor-e5f00b99d4d7c27af97d7018441f1278fb670857.tar.gz
tor-e5f00b99d4d7c27af97d7018441f1278fb670857.zip
publish a new descriptor after we hup. this is important if our
config has changed such that we'll want to start advertising our dirport now, etc. svn:r6819
-rw-r--r--trunk/src/or/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/trunk/src/or/main.c b/trunk/src/or/main.c
index b0795f526b..180b15030f 100644
--- a/trunk/src/or/main.c
+++ b/trunk/src/or/main.c
@@ -1070,6 +1070,7 @@ do_hup(void)
if (server_mode(options)) {
// const char *descriptor;
+ mark_my_descriptor_dirty();
/* Restart cpuworker and dnsworker processes, so they get up-to-date
* configuration options. */
cpuworkers_rotate();