From 7bf06d4a4f390aa866f9137b364632f5d6f3df8a Mon Sep 17 00:00:00 2001 From: Robert Ransom Date: Tue, 18 Jan 2011 03:54:56 -0800 Subject: Ignore and warn about "PublishServerDescriptor hidserv" Fixes #2408. --- src/or/config.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/or/config.c b/src/or/config.c index a955b1728b..8397b231a3 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -2878,7 +2878,9 @@ compute_publishserverdescriptor(or_options_t *options) else if (!strcasecmp(string, "bridge")) *auth |= BRIDGE_AUTHORITY; else if (!strcasecmp(string, "hidserv")) - *auth |= HIDSERV_AUTHORITY; + log_warn(LD_CONFIG, + "PublishServerDescriptor hidserv is invalid. See " + "PublishHidServDescriptors."); else if (!strcasecmp(string, "") || !strcmp(string, "0")) /* no authority */; else -- cgit v1.2.3-54-g00ecf