mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Log statement to help track down bug4091
This commit is contained in:
@@ -355,7 +355,9 @@ tor_addr_is_internal(const tor_addr_t *addr, int for_listening)
|
||||
|
||||
/* unknown address family... assume it's not safe for external use */
|
||||
/* rather than tor_assert(0) */
|
||||
log_warn(LD_BUG, "tor_addr_is_internal() called with a non-IP address.");
|
||||
log_warn(LD_BUG, "tor_addr_is_internal() called with a non-IP address of "
|
||||
"type %d", (int)v_family);
|
||||
tor_fragile_assert();
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user