mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 10:12:15 +01:00
when rejecting an old-style router descriptor, tell us its nickname
svn:r2730
This commit is contained in:
parent
677124fd0c
commit
005b02fd57
@ -834,7 +834,7 @@ routerinfo_t *router_parse_entry_from_string(const char *s,
|
||||
} else if (tok) {
|
||||
if (tok->n_args < 3) {
|
||||
/* XXXX Once 0.0.7 is *really* dead, restore this warning to its old form*/
|
||||
log_fn(LOG_WARN,"Not enough arguments to \"bandwidth\": must be an obsolete server. Rejecting.");
|
||||
log_fn(LOG_WARN,"Not enough arguments to \"bandwidth\": must be an obsolete server. Rejecting (nickname %s).", router->nickname);
|
||||
goto err;
|
||||
}
|
||||
router->bandwidthrate = tor_parse_long(tok->args[0],10,0,INT_MAX,NULL,NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user