forked from extern/shorewall_code
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:
parent
17e75e230f
commit
d8a0db63bd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user