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-stable
Commits
678f4aa3
Commit
678f4aa3
authored
Apr 06, 2001
by
Robert Ricci
Browse files
Removed unnecessary loading of %delays
parent
7fce4cdc
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/ir/handle_ip.in
View file @
678f4aa3
...
...
@@ -104,14 +104,14 @@ foreach (split("\n",&ir_get("/topology/links"))) {
}
# Get a list of delays
&ir_exists
("
/delay
")
||
do
{
print
STDERR
"
IR does not contain delay section.
\n
";
exit
(
1
);
};
foreach
(
split
("
\n
",
&ir_get
("
/delay
")))
{
@t
=
split
;
$delays
{
$t
[
0
]}
=
1
;
}
#
&ir_exists("/delay") || do {
#
print STDERR "IR does not contain delay section.\n";
#
exit(1);
#
};
#
foreach (split("\n",&ir_get("/delay"))) {
#
@t = split;
#
$delays{$t[0]} = 1;
#
}
# Pull the MAC table from the database.
# MACTABLE is indexed by virtual node name and contains a reference
...
...
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