Commit c5df137f authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor bug fix for loopback interfaces.

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