From ec17ea1deef98a4134a1339b6e802cf906a5629d Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sat, 3 Nov 2012 08:19:46 -0700 Subject: [PATCH] Remove superfluous check Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Chains.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Chains.pm b/Shorewall/Perl/Shorewall/Chains.pm index b05807308..dbb21ede9 100644 --- a/Shorewall/Perl/Shorewall/Chains.pm +++ b/Shorewall/Perl/Shorewall/Chains.pm @@ -5904,9 +5904,7 @@ sub isolate_source_interface( $ ) { my ( $iiface, $inets ); if ( $family == F_IPV4 ) { - if ( $source =~ /^~/ ) { - $inets = $source; - } elsif ( $source =~ /^(.+?):(.+)$/ ) { + if ( $source =~ /^(.+?):(.+)$/ ) { $iiface = $1; $inets = $2; } elsif ( $source =~ /^!?(?:\+|&|~|\^|\d+\.)/ ) {