From d151a069e9a35788874d8aead3e6720a8924e9b5 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 23 Dec 2014 10:53:40 -0500 Subject: tweak whitespace; log bad socket family if bug occurs --- src/or/connection_edge.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/or/connection_edge.c') 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 #include @@ -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) { -- cgit v1.2.3-54-g00ecf