diff --git a/Shorewall-perl/Shorewall/Providers.pm b/Shorewall-perl/Shorewall/Providers.pm index 20b71f43b..0d1c2df73 100644 --- a/Shorewall-perl/Shorewall/Providers.pm +++ b/Shorewall-perl/Shorewall/Providers.pm @@ -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;