From 14c5426537e31d377a203dd2b8ab275b9aec7ae5 Mon Sep 17 00:00:00 2001 From: teastep Date: Sun, 5 Feb 2006 00:45:21 +0000 Subject: [PATCH] Expand in/out device match for non-critical rules -- Take 2 git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3447 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/compiler | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall/compiler b/Shorewall/compiler index 6f53e40ff..60cb5fde6 100755 --- a/Shorewall/compiler +++ b/Shorewall/compiler @@ -794,7 +794,7 @@ match_source_dev() { if [ -n "$BRIDGING" ]; then known_port $1 && physdev_echo "--physdev-in $1" || echo -i $1 - elif known_interface $1 then + elif known_interface $1; then echo -i $1 elif [ -n "$PHYSDEV_MATCH" ]; then physdev_echo "--physdev-in $1" @@ -807,7 +807,7 @@ match_dest_dev() { if [ -n "$BRIDGING" ]; then known_port $1 && physdev_echo "--physdev-out $1" || echo -o $1 - elif known_interface $1 then + elif known_interface $1; then echo -o $1 elif [ -n "$PHYSDEV_MATCH" ]; then physdev_echo "--physdev-out $1"