mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-24 08:33:40 +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 '';
|
emit '';
|
||||||
|
|
||||||
if ( $first_fallback_route ) {
|
if ( $first_fallback_route ) {
|
||||||
if ( $balanced_providers == 1 ) {
|
if ( $fallback_providers == 1 ) {
|
||||||
if ( $gateway ) {
|
if ( $gateway ) {
|
||||||
emit "FALLBACK_ROUTE=\"via $gateway dev $interface $realm\"";
|
emit "FALLBACK_ROUTE=\"via $gateway dev $interface $realm\"";
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user