removed small warning if no bay_topo_platform() entry was found in c_platform()

This commit is contained in:
Max Baker
2004-04-23 20:18:08 +00:00
parent 440bb002b6
commit abb7fe7f3c

View File

@@ -249,7 +249,7 @@ sub c_platform {
my %c_platform;
foreach my $entry (keys %$bay_topo_platform){
my $port = $bay_topo_port->{$entry};
my $port = $bay_topo_port->{$entry} || 0;
next if $port == 0;
# For fake remotes (multiple IPs for a c_ip), use first found