From 71e4649f02940806c8be2b8349aeb2029f2721a0 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 30 Sep 2015 18:33:02 +0200 Subject: [PATCH] Disallow transitions on SyslogIdentityTag, since they do not work right --- src/or/config.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/or/config.c b/src/or/config.c index 9b65addee..f8fc757a2 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -3997,6 +3997,12 @@ options_transition_allowed(const or_options_t *old, return -1; } + if (!opt_streq(old->SyslogIdentityTag, new_val->SyslogIdentityTag)) { + *msg = tor_strdup("While Tor is running, changing " + "SyslogIdentityTag is not allowed."); + return -1; + } + if ((old->HardwareAccel != new_val->HardwareAccel) || !opt_streq(old->AccelName, new_val->AccelName) || !opt_streq(old->AccelDir, new_val->AccelDir)) {