Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
23bc3f42
Commit
23bc3f42
authored
Jul 22, 2011
by
Leigh B Stoller
Browse files
Bug fix in reserve vlan tags; once we get a tag, quit the loop and
stop allocating tags over and over for the same link.
parent
91cb6517
Changes
2
Hide whitespace changes
Inline
Side-by-side
tbsetup/snmpit_new.in
View file @
23bc3f42
...
...
@@ -2502,6 +2502,7 @@ sub doReserveVlanTags($$@) {
my
$tag
=
$stack
->
newVlanNumber
(
$vlanid
,
$vlanid
);
if
(
$tag
)
{
push
(
@assigned
,
[
$vlan
,
$tag
]);
next
;
}
elsif
(
!
$opt
{'
blockmode
'})
{
#
...
...
tbsetup/snmpit_test/snmpit_test.in
View file @
23bc3f42
...
...
@@ -2539,6 +2539,7 @@ sub doReserveVlanTags($$@) {
my
$tag
=
$stack
->
newVlanNumber
(
$vlanid
,
$vlanid
);
if
(
$tag
)
{
push
(
@assigned
,
[
$vlan
,
$tag
]);
next
;
}
elsif
(
!
$opt
{'
blockmode
'})
{
#
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment