Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
111
Issues
111
List
Boards
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
ec75f921
Commit
ec75f921
authored
Aug 14, 2012
by
Leigh Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fix.
parent
b7cdc10a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
tbsetup/snmpit_test/snmpit_lib.pm
tbsetup/snmpit_test/snmpit_lib.pm
+8
-0
No files found.
tbsetup/snmpit_test/snmpit_lib.pm
View file @
ec75f921
...
...
@@ -385,6 +385,10 @@ sub getExperimentTrunks($$@) {
# shared lan are sometimes shared nodes! Confused yet?
#
foreach
my
$vlanid
(
@vlans
)
{
# Allow vlan list to be vlan objects.
$vlanid
=
$vlanid
->
id
()
if
(
ref
(
$vlanid
));
foreach
my
$port
(
getVlanPorts
(
$vlanid
))
{
next
if
(
!
$port
->
trunk
());
...
...
@@ -452,6 +456,10 @@ sub getExperimentCurrentTrunks($$@) {
# shared lan are sometimes shared nodes! Confused yet?
#
foreach
my
$vlanid
(
@vlans
)
{
# Allow vlan list to be vlan objects.
$vlanid
=
$vlanid
->
id
()
if
(
ref
(
$vlanid
));
my
@vlanports
=
getExperimentVlanPorts
(
$vlanid
);
foreach
my
$port
(
@vlanports
)
{
...
...
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