From d8a0db63bd0cde4e15247da8485d77eb85d5770a Mon Sep 17 00:00:00 2001 From: teastep Date: Fri, 21 Dec 2007 19:14:53 +0000 Subject: [PATCH] Always use filters for classifying marked packets git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7934 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-perl/Shorewall/Tc.pm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Shorewall-perl/Shorewall/Tc.pm b/Shorewall-perl/Shorewall/Tc.pm index e07a2d691..856c34948 100644 --- a/Shorewall-perl/Shorewall/Tc.pm +++ b/Shorewall-perl/Shorewall/Tc.pm @@ -523,11 +523,7 @@ sub setup_traffic_shaping() { # add filters # unless ( $devref->{classify} ) { - if ( "$capabilities{CLASSIFY_TARGET}" && known_interface $device ) { - push @deferred_rules, match_dest_dev( $device ) . "-m mark --mark $mark/0xFF -j CLASSIFY --set-class $classid"; - } else { - emit "run_tc filter add dev $device protocol ip parent $devnum:0 prio 1 handle $mark fw classid $classid"; - } + emit "run_tc filter add dev $device protocol ip parent $devnum:0 prio 1 handle $mark fw classid $classid"; } # #options