If we start a server with ClientOnly 1, then set ClientOnly to 0

and hup, stop triggering an assert based on an empty onion_key.


svn:r9540
This commit is contained in:
Roger Dingledine
2007-02-09 00:22:43 +00:00
parent 0ad7dec59a
commit b3ac3acefc
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -2829,6 +2829,7 @@ options_transition_affects_workers(or_options_t *old_options,
old_options->ServerDNSSearchDomains !=
new_options->ServerDNSSearchDomains ||
old_options->SafeLogging != new_options->SafeLogging ||
old_options->ClientOnly != new_options->ClientOnly ||
!config_lines_eq(old_options->Logs, new_options->Logs))
return 1;