forked from extern/shorewall_code
Remove superfluous check
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
2e211bc2b6
commit
ec17ea1dee
@ -5904,9 +5904,7 @@ sub isolate_source_interface( $ ) {
|
|||||||
my ( $iiface, $inets );
|
my ( $iiface, $inets );
|
||||||
|
|
||||||
if ( $family == F_IPV4 ) {
|
if ( $family == F_IPV4 ) {
|
||||||
if ( $source =~ /^~/ ) {
|
if ( $source =~ /^(.+?):(.+)$/ ) {
|
||||||
$inets = $source;
|
|
||||||
} elsif ( $source =~ /^(.+?):(.+)$/ ) {
|
|
||||||
$iiface = $1;
|
$iiface = $1;
|
||||||
$inets = $2;
|
$inets = $2;
|
||||||
} elsif ( $source =~ /^!?(?:\+|&|~|\^|\d+\.)/ ) {
|
} elsif ( $source =~ /^!?(?:\+|&|~|\^|\d+\.)/ ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user