mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-27 18:13:13 +01:00
Better detection of out-of-order policy file
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6971 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
ae3efc810c
commit
48b993f0cf
@ -226,6 +226,8 @@ sub validate_policy()
|
||||
} else {
|
||||
fatal_error "Duplicate policy: $client $server $policy";
|
||||
}
|
||||
} elsif ( $chainref->{policy} ) {
|
||||
fatal_error "Duplicate policy: $client $server $policy";
|
||||
} else {
|
||||
$chainref->{is_policy} = 1;
|
||||
$chainref->{policy} = $policy;
|
||||
|
Loading…
Reference in New Issue
Block a user