mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 10:12:15 +01:00
when a begin cell has an invalid port, give us a better hint of
what went wrong svn:r2435
This commit is contained in:
parent
64ff06ffe3
commit
6468e049be
@ -758,7 +758,7 @@ int connection_exit_begin_conn(cell_t *cell, circuit_t *circ) {
|
||||
*colon = 0;
|
||||
|
||||
if(!atoi(colon+1)) { /* bad port */
|
||||
log_fn(LOG_WARN,"relay begin cell has invalid port. Dropping.");
|
||||
log_fn(LOG_WARN,"relay begin cell has invalid port '%s'. Dropping.", colon+1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user