mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
point out the bug location to nick. unless i'm wrong.
svn:r17825
This commit is contained in:
@@ -403,6 +403,8 @@ debug_ntop(const struct sockaddr *sa)
|
||||
if (sa->sa_family == AF_INET) {
|
||||
struct sockaddr_in *sin = (struct sockaddr_in *) sa;
|
||||
return debug_ntoa(ntohl(sin->sin_addr.s_addr));
|
||||
/* XXX021 Nick: the above does ntoa of ntohl. This is
|
||||
* probably one to-host too many. -RD */
|
||||
}
|
||||
if (sa->sa_family == AF_INET6) {
|
||||
/* Tor-specific. In libevent, add more check code. */
|
||||
|
||||
Reference in New Issue
Block a user