Fix silly bug in expand_rule()

This commit is contained in:
Tom Eastep 2011-01-29 08:45:20 -08:00
parent a391916236
commit 1b87405d96

View File

@ -3541,7 +3541,7 @@ sub expand_rule( $$$$$$$$$$;$ )
$iiface = $1;
$inets = $2;
} elsif ( $source =~ /:/ ) {
if ( $source =~ /^<(.+)>$/ || $source =~ /^<\[.+\]>$/ ) {
if ( $source =~ /^<(.+)>$/ || $source =~ /^\[(.+)\]$/ ) {
$inets = $1;
} else {
$inets = $source;