mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 20:24:09 +01:00
Remove more helper/proto silliness
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
8a8214704e
commit
49eb84b9e2
@ -1451,15 +1451,7 @@ sub process_tc_priority() {
|
||||
|
||||
fatal_error "Invalid PRIORITY ($band)" unless $val && $val <= 3;
|
||||
|
||||
my $rule;
|
||||
|
||||
unless ( $helper eq '-' ) {
|
||||
fatal_error( "A PROTO is required when a HELPER is specified" ) if $proto eq '-';
|
||||
fatal_error( "Unknown protocol" ) unless defined resolve_protocol( $proto );
|
||||
$rule = do_helper( $helper ) . "-j MARK --set-mark $band";
|
||||
} else {
|
||||
$rule = '';
|
||||
}
|
||||
my $rule = do_helper( $helper ) . "-j MARK --set-mark $band";
|
||||
|
||||
$rule .= join('', '/', in_hex( $globals{TC_MASK} ) ) if have_capability( 'EXMARK' );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user