Correct reset_optflags()

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-02-09 17:53:40 -08:00
parent c04c61b314
commit cadf2747fe

View File

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