Commit c5df137f authored by Leigh Stoller's avatar Leigh Stoller

Minor bug fix for loopback interfaces.

parent 121b735a
......@@ -8000,6 +8000,10 @@ sub UploadVlans($)
$speed = $virtiface->_speed();
$trunk = $virtiface->_trunk();
# Skip loopback interfaces.
next
if (!defined($iface));
$interface = Interface->LookupByIface($pnodename, $iface);
if (!defined($interface)) {
tberror("No such interface $pnodename:$iface\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