Commit 8cb9f218 authored by Leigh Stoller's avatar Leigh Stoller

Fix for wireless links (no entries in wireless table!).

parent ed810afc
...@@ -426,7 +426,8 @@ if ($showlinks) { ...@@ -426,7 +426,8 @@ if ($showlinks) {
printf "%-15s %-15s %-15s %-20s %-9s\n", $vname, printf "%-15s %-15s %-15s %-20s %-9s\n", $vname,
$member, $ipmap{$member}, $mac, $pnode; $member, $ipmap{$member}, $mac, $pnode;
if (exists($portmap{$member})) { if (exists($portmap{$member}) &&
defined($portmap{$member}->{"SWITCH"})) {
my $node_card = $portmap{$member}->{"NODECARD"}; my $node_card = $portmap{$member}->{"NODECARD"};
my $node_port = $portmap{$member}->{"NODEPORT"}; my $node_port = $portmap{$member}->{"NODEPORT"};
my $switch = $portmap{$member}->{"SWITCH"}; my $switch = $portmap{$member}->{"SWITCH"};
...@@ -825,7 +826,7 @@ if ($showdelays && $state eq EXPTSTATE_ACTIVE) { ...@@ -825,7 +826,7 @@ if ($showdelays && $state eq EXPTSTATE_ACTIVE) {
printf("%-15s %-15s %-12s %-9s %-9s %-9s\n", $vname, $vnode, printf("%-15s %-15s %-12s %-9s %-9s %-9s\n", $vname, $vnode,
$dname, $dname,
"$node_card/$node_port", $switch, "$node_card/$node_port $iface", $switch,
"$switch_card/$switch_port"); "$switch_card/$switch_port");
} }
print "\n"; print "\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment