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
de2e409f
Commit
de2e409f
authored
Dec 16, 2004
by
Leigh B. Stoller
Browse files
Neuter portstats inside an elabinelab. Eventually pass it out with
XMLRPC, but for now avoid the warnings.
parent
fb726630
Changes
1
Show whitespace changes
Inline
Side-by-side
tbsetup/portstats.in
View file @
de2e409f
...
...
@@ -18,6 +18,8 @@
#
# Configure variables
#
my
$ELABINELAB
=
@ELABINELAB@
;
use
lib
'
@prefix@/lib
';
use
libdb
;
...
...
@@ -157,6 +159,14 @@ if ($opt{p}) {
}
}
#
# Eventually, we can pass this out via XMLRPC. For now just exit.
#
if ($ELABINELAB) {
print "Not bothering with portstats inside an elabinelab.\n";
exit(0);
}
snmpit_lib::init(0);
#
...
...
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