]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix compilation on platforms without IP6T_SO_ORIGINAL_DST
authorNick Mathewson <nickm@torproject.org>
Tue, 23 Dec 2014 16:36:27 +0000 (11:36 -0500)
committerNick Mathewson <nickm@torproject.org>
Tue, 23 Dec 2014 16:36:27 +0000 (11:36 -0500)
src/or/connection_edge.c

index 5ab9af52c413acd6689c1224826d0c35ff82bd8c..6c872852b3a4c7d52ef59693435372205228033b 100644 (file)
 
 #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>