tweak whitespace; log bad socket family if bug occurs

This commit is contained in:
Nick Mathewson
2014-12-23 10:53:40 -05:00
parent cca6ed80bf
commit d151a069e9
2 changed files with 3 additions and 3 deletions
-1
View File
@@ -68,7 +68,6 @@
#include <linux/netfilter_ipv6/ip6_tables.h>
#endif
#if defined(HAVE_EXECINFO_H) && defined(HAVE_BACKTRACE) && \
defined(HAVE_BACKTRACE_SYMBOLS_FD) && defined(HAVE_SIGACTION)
#define USE_BACKTRACE
+3 -2
View File
@@ -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) {