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
95ab8689
Commit
95ab8689
authored
Feb 16, 2006
by
Leigh B. Stoller
Browse files
Minor fixes to make perl 5.8 happy and quiet!
parent
9cef1d8f
Changes
2
Hide whitespace changes
Inline
Side-by-side
tbsetup/snmpit.in
View file @
95ab8689
#!/usr/bin/perl -w
#
# EMULAB-LGPL
# Copyright (c) 2000-200
5
University of Utah and the Flux Group.
# Copyright (c) 2000-200
6
University of Utah and the Flux Group.
# All rights reserved.
#
...
...
@@ -27,6 +27,24 @@ use English;
use
Getopt::
Long
;
use
strict
;
# Protos
sub
parseStatusString
($);
sub
debug
($);
sub
doListVlans
($);
sub
doListPorts
($);
sub
doPortStatus
($@);
sub
doGetStats
($);
sub
doVlansFromTables
($@);
sub
doReset
($@);
sub
doMakeVlan
($$@);
sub
doDeleteVlan
($@);
sub
doVlanNumber
($$);
sub
doPortControl
($$@);
sub
doRecreateVlans
($);
sub
doTrunkEnable
($$@);
sub
doTrunkDisable
($$);
sub
doRestorePortStatus
($@);
#
# Defaults
#
...
...
tbsetup/tbswap.in
View file @
95ab8689
...
...
@@ -1455,7 +1455,7 @@ sub undoFWNodes($$;@) {
my
@fwstate
=
();
my
$zap
=
1
;
if
(
!
defined
(
@nodes
)
||
@nodes
==
0
)
{
if
(
!
@nodes
||
scalar
(
@nodes
)
==
0
)
{
@nodes
=
ExpNodes
(
$pid
,
$eid
,
1
);
$doall
=
1
;
}
...
...
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