summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-12-23 11:36:27 -0500
committerNick Mathewson <nickm@torproject.org>2014-12-23 11:36:27 -0500
commit6285d9bdcf7f210c56abd25f75133e30d05a7473 (patch)
tree69078ab1babb0885ea5a2e9ef44a487966108647
parent9545569d73787211bf11355fe646e8918bdd19f0 (diff)
downloadtor-6285d9bdcf7f210c56abd25f75133e30d05a7473.tar.gz
tor-6285d9bdcf7f210c56abd25f75133e30d05a7473.zip
Fix compilation on platforms without IP6T_SO_ORIGINAL_DST
-rw-r--r--src/or/connection_edge.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index 5ab9af52c4..6c872852b3 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>