removed warning about non numeric port line 199

This commit is contained in:
Max Baker
2004-01-20 16:44:20 +00:00
parent 342a45a424
commit 74e649a033

View File

@@ -196,7 +196,7 @@ sub c_ip {
foreach my $entry (keys %$bay_topo_ip){
my $port = $bay_topo_port->{$entry};
next unless defined $port;
next if $port == 0;
next if ($port =~ /^[\d\.]+$/ and $port == 0);
my $ip = $bay_topo_ip->{$entry};
push(@{$ip_port{$port}},$ip);
}