forked from extern/shorewall_code
Fix silly bug in expand_rule()
This commit is contained in:
parent
a391916236
commit
1b87405d96
@ -3541,7 +3541,7 @@ sub expand_rule( $$$$$$$$$$;$ )
|
|||||||
$iiface = $1;
|
$iiface = $1;
|
||||||
$inets = $2;
|
$inets = $2;
|
||||||
} elsif ( $source =~ /:/ ) {
|
} elsif ( $source =~ /:/ ) {
|
||||||
if ( $source =~ /^<(.+)>$/ || $source =~ /^<\[.+\]>$/ ) {
|
if ( $source =~ /^<(.+)>$/ || $source =~ /^\[(.+)\]$/ ) {
|
||||||
$inets = $1;
|
$inets = $1;
|
||||||
} else {
|
} else {
|
||||||
$inets = $source;
|
$inets = $source;
|
||||||
|
Loading…
Reference in New Issue
Block a user