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
d65ca782
Commit
d65ca782
authored
Jun 21, 2010
by
Leigh B Stoller
Browse files
Minor bug fix to fix undefined hash access warning.
parent
37cde7f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/snmpit_hp.pm
View file @
d65ca782
...
...
@@ -2,7 +2,7 @@
#
# EMULAB-LGPL
# Copyright (c) 2000-200
9
University of Utah and the Flux Group.
# Copyright (c) 2000-20
1
0 University of Utah and the Flux Group.
# Copyright (c) 2004-2009 Regents, University of California.
# All rights reserved.
#
...
...
@@ -1032,7 +1032,7 @@ sub removeSomePortsFromVlan($$@) {
$self
->
debug
("
$id
$vlan_number
:
@portlist
\n
",
2
);
foreach
my
$portIndex
(
@portlist
)
{
next
unless
$porthash
{
$portIndex
};
next
unless
exists
(
$porthash
{
$portIndex
}
)
;
if
(
@
{
@$vLists
[
1
]}[
$portIndex
-
1
])
{
# otherwise, port is tagged, or dual; maybe should complain.
...
...
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