mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 12:14:32 +01:00
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 );
|
||||
|
||||
if ( $family == F_IPV4 ) {
|
||||
if ( $source =~ /^~/ ) {
|
||||
$inets = $source;
|
||||
} elsif ( $source =~ /^(.+?):(.+)$/ ) {
|
||||
if ( $source =~ /^(.+?):(.+)$/ ) {
|
||||
$iiface = $1;
|
||||
$inets = $2;
|
||||
} elsif ( $source =~ /^!?(?:\+|&|~|\^|\d+\.)/ ) {
|
||||
|
Loading…
Reference in New Issue
Block a user