[tor-commits] [tor/master] Fix compilation on platforms without IP6T_SO_ORIGINAL_DST
nickm at torproject.org
nickm at torproject.org
Tue Dec 23 16:36:30 UTC 2014
commit 6285d9bdcf7f210c56abd25f75133e30d05a7473
Author: Nick Mathewson <nickm at torproject.org>
Date: Tue Dec 23 11:36:27 2014 -0500
Fix compilation on platforms without IP6T_SO_ORIGINAL_DST
---
src/or/connection_edge.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index 5ab9af5..6c87285 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -55,9 +55,11 @@
#ifdef HAVE_LINUX_NETFILTER_IPV6_IP6_TABLES_H
#include <linux/netfilter_ipv6/ip6_tables.h>
+#if defined(IP6T_SO_ORIGINAL_DST)
#define TRANS_NETFILTER
#define TRANS_NETFILTER_IPV6
#endif
+#endif
#if defined(HAVE_NET_IF_H) && defined(HAVE_NET_PFVAR_H)
#include <net/if.h>
More information about the tor-commits
mailing list