mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
Log statement to help track down bug4091
This commit is contained in:
parent
342e753d31
commit
80b2756b53
5
changes/bug4091_debugging
Normal file
5
changes/bug4091_debugging
Normal file
@ -0,0 +1,5 @@
|
||||
o Minor features:
|
||||
- Add more information to a log statement that might help track down
|
||||
bug 4091. If you're seeing "Bug: tor_addr_is_internal() called with a
|
||||
non-IP address" messages (or any Bug messages, for that matter!),
|
||||
please let us know about it.
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user