Commit cd1b63e4 authored by Leigh Stoller's avatar Leigh Stoller

Do not consider interfaces that are not wired up when operating on

a node (no interface).
parent 28a85956
#!/usr/bin/perl
#
# Copyright (c) 2000-2017 University of Utah and the Flux Group.
# Copyright (c) 2000-2018 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -284,6 +284,9 @@ elsif ($opt{p}) {
next;
}
foreach my $interface (@interfaces) {
next
if (! $interface->wiredup());
my $port = Port->LookupByIface($interface->node_id(),
$interface->iface());
push(@ports, $port)
......
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