Commit 678f4aa3 authored by Robert Ricci's avatar Robert Ricci
Browse files

Removed unnecessary loading of %delays

parent 7fce4cdc
...@@ -104,14 +104,14 @@ foreach (split("\n",&ir_get("/topology/links"))) { ...@@ -104,14 +104,14 @@ foreach (split("\n",&ir_get("/topology/links"))) {
} }
# Get a list of delays # Get a list of delays
&ir_exists("/delay") || do { #&ir_exists("/delay") || do {
print STDERR "IR does not contain delay section.\n"; # print STDERR "IR does not contain delay section.\n";
exit(1); # exit(1);
}; #};
foreach (split("\n",&ir_get("/delay"))) { #foreach (split("\n",&ir_get("/delay"))) {
@t = split; # @t = split;
$delays{$t[0]} = 1; # $delays{$t[0]} = 1;
} #}
# Pull the MAC table from the database. # Pull the MAC table from the database.
# MACTABLE is indexed by virtual node name and contains a reference # MACTABLE is indexed by virtual node name and contains a reference
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment