[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Patch: correct configure check for netfilter_ipv4 support on some platforms.
- To: or-dev@xxxxxxxxxxxxx
- Subject: Patch: correct configure check for netfilter_ipv4 support on some platforms.
- From: coderman <coderman@xxxxxxxxx>
- Date: Sun, 6 Jul 2008 22:08:07 -0700
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: or-dev-outgoing@xxxxxxxx
- Delivered-to: or-dev@xxxxxxxx
- Delivery-date: Mon, 07 Jul 2008 01:08:27 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=9CMffmZf5msMWYNV1SggqqFNcXaJFid8mHK/mHccq2g=; b=LGUbwe3ZZ91M4E0QfB+8T+BTdlkQSHrGwpB2ddddyJac4+BRXIYqSem8Ird4n5KaHC wwJm84a6hKyZxF+31BvcEXK1wts3azJnJxhC6qi5MfNa2oyFGwv45t70FBQKB5EnXQnS 9lSOmSdQ1JJ3OjfRKQpKqlUgWhlAG4Cn03U/Y=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=N0RPNdf9E6JIU1X5huyQf7fd0W0pQm/LJ0/MV9iR+j1HkUL+aWf/6utgOYP3nIf7Re uAtSHTBs8aCdAa5mt2Qa6VplQfVmE/x0G8UjHSA6VBlcU5ChSQu/VcTEO3vEQe8PUHXY 0phMCN0rw+NYXNx2721y8d9Irkxh6uLtw3JeA=
- Reply-to: or-dev@xxxxxxxxxxxxx
- Sender: owner-or-dev@xxxxxxxxxxxxx
on some systems the transparent proxy support is not enabled because
of a failed check for netfilter_ipv4.h. this check fails because the
ipv4 include expects some of the structure definitions in
netfilter/in.h which is not included in the check.
this patch includes in.h if present to fix the configure check.
best regards,
diff -Naur tor-svn-current/configure.in tor-patched/configure.in
--- tor-svn-current/configure.in 2008-07-05 21:17:04.584497000 +0000
+++ tor-patched/configure.in 2008-07-07 05:02:52.832713872 +0000
@@ -349,6 +349,9 @@
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
+#endif
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
#endif])
if test x$transparent = xtrue ; then