Ignore and warn about "PublishServerDescriptor hidserv"

Fixes #2408.
This commit is contained in:
Robert Ransom
2011-01-18 03:54:56 -08:00
parent bcbcda309a
commit 7bf06d4a4f
2 changed files with 9 additions and 1 deletions
+3 -1
View File
@@ -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