mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-07 08:14:00 +01:00
Correct multiple fallback providers
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
83e0be6d0b
commit
f6ce03c506
@ -357,7 +357,7 @@ sub balance_fallback_route( $$$$ ) {
|
||||
emit '';
|
||||
|
||||
if ( $first_fallback_route ) {
|
||||
if ( $balanced_providers == 1 ) {
|
||||
if ( $fallback_providers == 1 ) {
|
||||
if ( $gateway ) {
|
||||
emit "FALLBACK_ROUTE=\"via $gateway dev $interface $realm\"";
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user