diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-12-23 10:53:40 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-12-23 10:53:40 -0500 |
commit | d151a069e9a35788874d8aead3e6720a8924e9b5 (patch) | |
tree | c151094cd2e3a4303f0c562492c1ab8d1691c221 /src/or/connection_edge.c | |
parent | cca6ed80bf6814386e3d1640c1849eb20f18b34f (diff) | |
download | tor-d151a069e9a35788874d8aead3e6720a8924e9b5.tar.gz tor-d151a069e9a35788874d8aead3e6720a8924e9b5.zip |
tweak whitespace; log bad socket family if bug occurs
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r-- | src/or/connection_edge.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index 09645d04b9..5ab9af52c4 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -59,7 +59,6 @@ #define TRANS_NETFILTER_IPV6 #endif - #if defined(HAVE_NET_IF_H) && defined(HAVE_NET_PFVAR_H) #include <net/if.h> #include <net/pfvar.h> @@ -1430,7 +1429,9 @@ destination_from_socket(entry_connection_t *conn, socks_request_t *req) break; #endif default: - log_warn(LD_BUG, "Received transparent data from an unsuported socket family."); + log_warn(LD_BUG, + "Received transparent data from an unsuported socket family %d", + ENTRY_TO_CONN(conn)->socket_family); return -1; } if (rv < 0) { |