From f6ce03c5066d20927302c8b10699cad12bf56bea Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Fri, 23 Jun 2017 07:41:23 -0700 Subject: [PATCH] Correct multiple fallback providers Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Providers.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Providers.pm b/Shorewall/Perl/Shorewall/Providers.pm index 86a94b909..17a19f3a9 100644 --- a/Shorewall/Perl/Shorewall/Providers.pm +++ b/Shorewall/Perl/Shorewall/Providers.pm @@ -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 {