Commit 923356d7 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Remove blockmode argument in tree mode vlan allocation; want

only one of the tags, not all of them.
parent 0897c253
......@@ -2528,13 +2528,9 @@ sub GetTicketAuxAux($$$$$$$$$$)
"Could not find a free vlan tag for $linkname");
goto bad;
# Do this in "blockmode" so that snmpit does not throw an error
# if one of the tags is not available.
print STDERR
"Trying to allocate vlan tags for $linkname: @tags\n";
system("$SNMPIT --blockmode -A ".
"Trying to allocate one tag for $linkname: @tags\n";
system("$SNMPIT -A ".
"$pid $eid $lanid," . join(",", @tags));
if ($?) {
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