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

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

parent ed810afc
......@@ -426,7 +426,8 @@ if ($showlinks) {
printf "%-15s %-15s %-15s %-20s %-9s\n", $vname,
$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_port = $portmap{$member}->{"NODEPORT"};
my $switch = $portmap{$member}->{"SWITCH"};
......@@ -825,7 +826,7 @@ if ($showdelays && $state eq EXPTSTATE_ACTIVE) {
printf("%-15s %-15s %-12s %-9s %-9s %-9s\n", $vname, $vnode,
"$node_card/$node_port", $switch,
"$node_card/$node_port $iface", $switch,
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