mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-11 08:08:12 +01:00
Another tweak to check_state()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
272e1d330c
commit
e4ae242123
@ -2727,8 +2727,16 @@ sub check_state( $ ) {
|
|||||||
} else {
|
} else {
|
||||||
$state =~ /^(?:INVALID|UNTRACKED)$/;
|
$state =~ /^(?:INVALID|UNTRACKED)$/;
|
||||||
}
|
}
|
||||||
} else {
|
} elsif ( $sectionref ) {
|
||||||
|
#
|
||||||
|
# we're dealing with a rules chain
|
||||||
|
#
|
||||||
$state eq $section_rmap{$section} ? 2 : 1;
|
$state eq $section_rmap{$section} ? 2 : 1;
|
||||||
|
} else {
|
||||||
|
#
|
||||||
|
# An action chain -- we can't predict where it will get invoked so populate it fully
|
||||||
|
#
|
||||||
|
1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user