Always use filters for classifying marked packets

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7934 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-12-21 19:14:53 +00:00
parent 17e75e230f
commit d8a0db63bd

View File

@ -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