forked from extern/shorewall_code
Correct multiple fallback providers
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
7515520b46
commit
1b6f15d577
@ -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