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
ec75f921
Commit
ec75f921
authored
Aug 14, 2012
by
Leigh B Stoller
Browse files
Minor fix.
parent
b7cdc10a
Changes
1
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
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