From 748375d12d5b4687ac3802be250b6153a01dfa20 Mon Sep 17 00:00:00 2001 From: teastep Date: Thu, 6 Oct 2005 20:10:40 +0000 Subject: [PATCH] Finish MACLIST_TABLE implementation git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2816 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/firewall | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall/firewall b/Shorewall/firewall index aa1b5775e..8f74664fb 100755 --- a/Shorewall/firewall +++ b/Shorewall/firewall @@ -2770,7 +2770,7 @@ setup_mac_lists() { have_mac_chain() { local result - + case $MACLIST_TABLE in filter) havechain $1 && result=0 || result=1 @@ -2894,7 +2894,7 @@ setup_mac_lists() { done ;; *) - run_itables -t mangle -A PREROUTING $(match_source_hosts $hosts) -m state --state NEW \ + run_iptables -t mangle -A PREROUTING -i $interface $(match_source_hosts $hosts) -m state --state NEW \ $policy -j $(mac_chain $interface) ;; esac