From a1981823f4b603da58f19e2c3f61fceb155f9aa3 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Thu, 1 Dec 2016 15:21:25 -0800 Subject: [PATCH] Correct typo (syntax error!) 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 e65b56afb..b90dd76c4 100644 --- a/Shorewall/Perl/Shorewall/Providers.pm +++ b/Shorewall/Perl/Shorewall/Providers.pm @@ -1577,7 +1577,7 @@ sub finish_providers() { if ( $family == F_IPV4 ) { emit( " run_ip route replace default scope global table $default \$FALLBACK_ROUTE" ); - } ele { + } else { emit( " run_ip route delete default scope global table $default \$FALLBACK_ROUTE" ); emit( " run_ip route add default scope global table $default \$FALLBACK_ROUTE" ); }