Correct multiple fallback providers

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2017-06-23 07:41:23 -07:00
parent 83e0be6d0b
commit f6ce03c506
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -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 {