Commit 949b6bd1 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor fix.

parent 8e04440d
......@@ -853,6 +853,9 @@ sub getDeviceNames(@) {
my @ports = @_;
my %devices = ();
foreach my $port (@ports) {
if (!defined($port)) {
die("getDeviceNames: undefined port");
}
my $device = $port->switch_node_id();
$devices{$device} = 1;
......
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