Commit 64e8008f authored by Leigh Stoller's avatar Leigh Stoller

Lookup by iface instead of card,port.

parent 4975c07e
#!/usr/bin/perl -w
#
# Copyright (c) 2016 University of Utah and the Flux Group.
# Copyright (c) 2016-2017 University of Utah and the Flux Group.
#
# {{{EMULAB-LGPL
#
......@@ -134,9 +134,7 @@ foreach my $lan (@lans) {
next;
}
my $wire = Interface::Wire->LookupAny( $interface->node_id(),
$interface->card(),
$interface->port() );
my $wire = Interface::Wire->LookupAnyByIface($interface);
if( !defined( $wire ) ) {
tbwarn( "rflinks: couldn't find RF wire for $pid/$eid " .
......
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