mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
when an exit node gets a malformed begin cell, don't complain to
the node operator, since he can't do anything about it. svn:r6733
This commit is contained in:
@@ -217,7 +217,7 @@ main(int argc, char **argv)
|
||||
sockshost = 0x7f000001u; /* localhost */
|
||||
socksport = 9050; /* 9050 */
|
||||
} else if (n_args == 2) {
|
||||
if (parse_addr_port(arg[1], NULL, &sockshost, &socksport)<0) {
|
||||
if (parse_addr_port(LOG_WARN, arg[1], NULL, &sockshost, &socksport)<0) {
|
||||
fprintf(stderr, "Couldn't parse/resolve address %s", arg[1]);
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user