From: Nick Mathewson Date: Tue, 23 Dec 2014 16:36:27 +0000 (-0500) Subject: Fix compilation on platforms without IP6T_SO_ORIGINAL_DST X-Git-Tag: tor-0.2.6.2-alpha~25 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6285d9bdcf7f210c56abd25f75133e30d05a7473;p=thirdparty%2Ftor.git Fix compilation on platforms without IP6T_SO_ORIGINAL_DST --- 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 +#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