removed small warning if no bay_topo_platform() entry was found in c_platform()
This commit is contained in:
@@ -249,7 +249,7 @@ sub c_platform {
|
|||||||
|
|
||||||
my %c_platform;
|
my %c_platform;
|
||||||
foreach my $entry (keys %$bay_topo_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;
|
next if $port == 0;
|
||||||
|
|
||||||
# For fake remotes (multiple IPs for a c_ip), use first found
|
# For fake remotes (multiple IPs for a c_ip), use first found
|
||||||
|
|||||||
Reference in New Issue
Block a user