mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-22 05:28:59 +01:00
Correct reset_optflags()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
c04c61b314
commit
cadf2747fe
@ -2218,7 +2218,7 @@ sub reset_optflags( $$ ) {
|
||||
|
||||
my $chainref = reftype $chain ? $chain : $filter_table->{$chain};
|
||||
|
||||
$chainref->{optflags} ^= $flags;
|
||||
$chainref->{optflags} ^= ( $flags & $chainref->{optflags} );
|
||||
|
||||
trace( $chainref, "O${flags}", undef, '' ) if $debug;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user