From: Nick Mathewson Date: Tue, 17 Jul 2012 16:02:55 +0000 (-0400) Subject: Improve message on spurious SOCKSListenAddress X-Git-Tag: tor-0.2.4.1-alpha~88^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4cac5df5548e0051a6927a778da3e6f01f45dc56;p=thirdparty%2Ftor.git Improve message on spurious SOCKSListenAddress --- diff --git a/changes/port_doc b/changes/port_doc new file mode 100644 index 0000000000..0e8662f0ab --- /dev/null +++ b/changes/port_doc @@ -0,0 +1,3 @@ + o Minor features (usability): + - Try to make the warning when giving an obsolete SOCKSListenAddress + a littel more useful. diff --git a/src/or/config.c b/src/or/config.c index f5b5c8fb58..bacb06ee99 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -5642,7 +5642,7 @@ parse_port_config(smartlist_t *out, mainport = (int)tor_parse_long(ports->value, 10, 0, 65535, &ok, NULL); if (!ok) { log_warn(LD_CONFIG, "%sListenAddress can only be used with a single " - "%sPort with value \"auto\" or 1-65535.", + "%sPort with value \"auto\" or 1-65535 and no options set.", portname, portname); return -1; }