Fix silly bug in expand_rule()

This commit is contained in:
Tom Eastep 2011-01-29 08:45:20 -08:00
parent 3b6e7c3698
commit 0de4208fef

View File

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