mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-15 10:51:02 +01:00
Fix silly bug in expand_rule()
This commit is contained in:
parent
a391916236
commit
1b87405d96
@ -3541,7 +3541,7 @@ sub expand_rule( $$$$$$$$$$;$ )
|
||||
$iiface = $1;
|
||||
$inets = $2;
|
||||
} elsif ( $source =~ /:/ ) {
|
||||
if ( $source =~ /^<(.+)>$/ || $source =~ /^<\[.+\]>$/ ) {
|
||||
if ( $source =~ /^<(.+)>$/ || $source =~ /^\[(.+)\]$/ ) {
|
||||
$inets = $1;
|
||||
} else {
|
||||
$inets = $source;
|
||||
|
Loading…
Reference in New Issue
Block a user