Skip to content
GitLab
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
b2337e45
Commit
b2337e45
authored
Dec 03, 2004
by
Mike Hibler
Browse files
debug and error checking
parent
7a5edca5
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/snmpit_cisco_stack.pm
View file @
b2337e45
...
...
@@ -621,7 +621,12 @@ sub enableTrunking($$@) {
}
push
@vlan_numbers
,
$vlan_number
;
}
$device
->
setVlansOnTrunk
(
$port
,
1
,
@vlan_numbers
);
print
"
add VLANs
"
.
join
("
,
",
@vlan_numbers
)
.
"
to trunk
\n
"
if
(
$self
->
{
DEBUG
});
if
(
!
$device
->
setVlansOnTrunk
(
$port
,
1
,
@vlan_numbers
))
{
warn
"
ERROR: could not add VLANs
"
.
join
("
,
",
@vlan_numbers
)
.
"
to trunk
";
}
}
return
$rv
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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