From 5712438bcb780be335043f42ee7d52b1eba564f7 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Fri, 16 Nov 2012 09:50:36 -0800 Subject: [PATCH] Eliminate Shell syntax error when a provider and its interface have the same name. 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 384d6f196..bd33f02b7 100644 --- a/Shorewall/Perl/Shorewall/Providers.pm +++ b/Shorewall/Perl/Shorewall/Providers.pm @@ -1262,7 +1262,7 @@ EOF if ( $providerref->{optional} ) { if ( $providerref->{shared} || $providerref->{physical} eq $provider) { - emit "$provider})"; + emit "$provider)"; } else { emit( "$providerref->{physical}|$provider)" ); }