All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 397a94ca authored by Mac Newbold's avatar Mac Newbold

Fixed "l0-0 not unique" problem...

parent f1c7dcae
......@@ -742,7 +742,11 @@ sub OneVLAN {
my $Vlan = $sess->get([[$NextVLANId,0]]);
my $CreateOID = ".1.3.6.1.4.1.343.6.11.1.9.1.3";
my $RetVal = "Undef.";
if ( !$m ) { $m = $Vlan; }
if ( !$m
#Temporary fix: if its a lX-Y name from assign.tcl, ignore it
|| ($m =~ /l(\d)+-(\d)+/)
#End of Temp fix
) { $m = $Vlan; }
print " Creating VLAN $m as VLAN #$Vlan: @vlan ... ";
$RetVal = $sess->set([[$CreateOID,$Vlan,$m,"OCTETSTR"]]);
print "",($RetVal? "Succeeded":"Failed"),".\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