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
23f0b7c7
Commit
23f0b7c7
authored
Jul 18, 2006
by
Leigh B. Stoller
Browse files
Oops, fix for undefined values.
parent
624a0364
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/ptopgen.in
View file @
23f0b7c7
...
...
@@ -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
#
...
...
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