mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-16 19:30:44 +01:00
Mini-optimization in Providers handling
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6266 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
b9fcda9812
commit
55e8ff29c7
@ -207,8 +207,7 @@ sub setup_providers() {
|
||||
fatal_error "Invalid Mark Value ($mark) with HIGH_ROUTE_MARKS=No" if ! $config{HIGH_ROUTE_MARKS};
|
||||
}
|
||||
|
||||
for my $provider ( keys %providers ) {
|
||||
my $num = $providers{$provider}{mark};
|
||||
for my $num ( values %providers ) {
|
||||
fatal_error "Duplicate mark value ( $mark )" if $num == $val;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user