Allow secmarks without TC_ENABLED

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2010-09-05 07:49:03 -07:00
parent b139ff7e90
commit 629290259d

View File

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