mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-19 03:01:10 +01:00
Allow secmarks without TC_ENABLED
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
b139ff7e90
commit
629290259d
@ -1517,7 +1517,9 @@ sub setup_tc() {
|
||||
|
||||
clear_comment;
|
||||
}
|
||||
}
|
||||
|
||||
if ( $config{MANGLE_ENABLED} ) {
|
||||
if ( my $fn = open_file 'secmarks' ) {
|
||||
|
||||
first_entry "$doing $fn...";
|
||||
@ -1526,12 +1528,11 @@ sub setup_tc() {
|
||||
|
||||
clear_comment;
|
||||
}
|
||||
}
|
||||
|
||||
add_rule ensure_chain( 'mangle' , 'tcpost' ), $_ for @deferred_rules;
|
||||
add_rule ensure_chain( 'mangle' , 'tcpost' ), $_ for @deferred_rules;
|
||||
|
||||
|
||||
handle_stickiness( $sticky );
|
||||
handle_stickiness( $sticky );
|
||||
}
|
||||
}
|
||||
|
||||
1;
|
||||
|
Loading…
Reference in New Issue
Block a user