mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-16 11:20:53 +01:00
Tighen up editing of 'balance=nnn'
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6285 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
eda48ec9cf
commit
f35199fc6a
@ -232,7 +232,7 @@ sub setup_providers() {
|
||||
fatal_error "The 'track' option requires a numeric value in the MARK column" if $mark eq '-';
|
||||
$routemarked_interfaces{$interface} = $mark;
|
||||
push @routemarked_interfaces, $interface;
|
||||
} elsif ( $option =~ /^balance=(\d+)/ ) {
|
||||
} elsif ( $option =~ /^balance=(\d+)$/ ) {
|
||||
balance_default_route $1 , $gateway, $interface;
|
||||
} elsif ( $option eq 'balance' ) {
|
||||
balance_default_route 1 , $gateway, $interface;
|
||||
|
Loading…
Reference in New Issue
Block a user