mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-10 23:58:14 +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 {
|
||||
$state =~ /^(?:INVALID|UNTRACKED)$/;
|
||||
}
|
||||
} else {
|
||||
} elsif ( $sectionref ) {
|
||||
#
|
||||
# we're dealing with a rules chain
|
||||
#
|
||||
$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