From 182f82ec028cda2fb8da260c6031c4217c6d6354 Mon Sep 17 00:00:00 2001 From: teastep Date: Thu, 13 Jul 2006 14:23:22 +0000 Subject: [PATCH] Change physdev match detection to use --physdev-out git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4217 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/functions b/Shorewall/functions index 3c9544fa7..bf4d134a0 100644 --- a/Shorewall/functions +++ b/Shorewall/functions @@ -1219,7 +1219,7 @@ determine_capabilities() { qt $IPTABLES -A fooX1234 -p tcp -m multiport --dports 21:22 -j ACCEPT && XMULTIPORT=Yes qt $IPTABLES -A fooX1234 -m policy --pol ipsec --mode tunnel --dir in -j ACCEPT && POLICY_MATCH=Yes - if qt $IPTABLES -A fooX1234 -m physdev --physdev-in eth0 -j ACCEPT; then + if qt $IPTABLES -A fooX1234 -m physdev --physdev-out eth0 -j ACCEPT; then PHYSDEV_MATCH=Yes qt $IPTABLES -A fooX1234 -m physdev --physdev-in eth1 -m physdev --physdev-out eth1 -j ACCEPT && KLUDGEFREE=Yes fi