forked from extern/shorewall_code
Fix silly bug in expand_rule()
This commit is contained in:
parent
3b6e7c3698
commit
0de4208fef
@ -3509,7 +3509,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