mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Use LOG_WARN instead of LOG_PROTOCOL_WARN when parsing transport lines.
This commit is contained in:
parent
03b32161bc
commit
37f8a2263e
@ -964,7 +964,7 @@ parse_smethod_line(const char *line, managed_proxy_t *mp)
|
||||
}
|
||||
|
||||
addrport = smartlist_get(items, 2);
|
||||
if (tor_addr_port_split(LOG_PROTOCOL_WARN, addrport, &address, &port)<0) {
|
||||
if (tor_addr_port_split(LOG_WARN, addrport, &address, &port)<0) {
|
||||
log_warn(LD_CONFIG, "Error parsing transport "
|
||||
"address '%s'", addrport);
|
||||
goto err;
|
||||
@ -1056,7 +1056,7 @@ parse_cmethod_line(const char *line, managed_proxy_t *mp)
|
||||
}
|
||||
|
||||
addrport = smartlist_get(items, 3);
|
||||
if (tor_addr_port_split(LOG_PROTOCOL_WARN, addrport, &address, &port)<0) {
|
||||
if (tor_addr_port_split(LOG_WARN, addrport, &address, &port)<0) {
|
||||
log_warn(LD_CONFIG, "Error parsing transport "
|
||||
"address '%s'", addrport);
|
||||
goto err;
|
||||
|
Loading…
Reference in New Issue
Block a user