Commit 23f0b7c7 authored by Leigh Stoller's avatar Leigh Stoller

Oops, fix for undefined values.

parent 624a0364
......@@ -430,7 +430,7 @@ foreach $node (keys(%nodes)) {
push(@types, "$class:1");
}
if ($delay_capacity > 0) {
if (defined($delay_capacity) && $delay_capacity > 0) {
# Comes from the NS file;
$delay_capacity = $delaycap_override
if (defined($delaycap_override) &&
......@@ -496,7 +496,7 @@ foreach $node (keys(%nodes)) {
}
}
if ($simstuff && $simnode_capacity > 0) {
if ($simstuff && defined($simnode_capacity) && $simnode_capacity > 0) {
#
# Use user specified multiplex factor
#
......
Markdown is supported
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