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
300adbc4
Commit
300adbc4
authored
Nov 19, 2005
by
Robert Ricci
Browse files
Add a missing [] that was preventing us from removing ports from a VLAN
before deleting it.
parent
1236b544
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/snmpit_cisco.pm
View file @
300adbc4
...
...
@@ -1021,7 +1021,7 @@ sub removePortsFromVlan($@) {
#
# Walk the tree to find VLAN membership
#
my
(
$rows
)
=
snmpitBulkwalkFatal
(
$self
->
{
SESS
},
$VlanPortVlan
);
my
(
$rows
)
=
snmpitBulkwalkFatal
(
$self
->
{
SESS
},
[
$VlanPortVlan
]
);
foreach
my
$rowref
(
@$rows
)
{
my
(
$name
,
$modport
,
$port_vlan_number
)
=
@$rowref
;
$self
->
debug
("
Got
$name
$modport
$port_vlan_number
\n
");
...
...
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