forked from extern/shorewall_code
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 {
|
} else {
|
||||||
fatal_error "Duplicate policy: $client $server $policy";
|
fatal_error "Duplicate policy: $client $server $policy";
|
||||||
}
|
}
|
||||||
|
} elsif ( $chainref->{policy} ) {
|
||||||
|
fatal_error "Duplicate policy: $client $server $policy";
|
||||||
} else {
|
} else {
|
||||||
$chainref->{is_policy} = 1;
|
$chainref->{is_policy} = 1;
|
||||||
$chainref->{policy} = $policy;
|
$chainref->{policy} = $policy;
|
||||||
|
Loading…
Reference in New Issue
Block a user