From 3e88508243ac0134a79366270121ce98c53da2b0 Mon Sep 17 00:00:00 2001 From: kapeka Date: Mon, 28 Jun 2004 17:54:42 +0000 Subject: [PATCH] Fix bogus code in process_tc_rule() as in STABLE2 git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1414 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Lrp2/usr/share/shorewall/firewall | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Lrp2/usr/share/shorewall/firewall b/Lrp2/usr/share/shorewall/firewall index d684f0d4b..26b5296ce 100755 --- a/Lrp2/usr/share/shorewall/firewall +++ b/Lrp2/usr/share/shorewall/firewall @@ -2052,11 +2052,7 @@ process_tc_rule() esac fi - if [ "x$dest" != "x-" ]; then - verify_interface $dest || fatal_error "Unknown interface $dest in rule \"$rule\"" - r="${r}$(match_dest_dev $dest) " - fi - + [ "x$dest" = "x-" ] || r="${r}-d $dest " [ "$proto" = "all" ] || r="${r}-p $proto " [ "x$port" = "x-" ] || r="${r}--dport $port " [ "x$sport" = "x-" ] || r="${r}--sport $sport "