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
85c96f5e
Commit
85c96f5e
authored
Apr 24, 2006
by
Mike Hibler
Browse files
Handle undefined values (map them to default values)
parent
a9bc92b5
Changes
1
Show whitespace changes
Inline
Side-by-side
pelab/init-elabnodes.pl
View file @
85c96f5e
...
...
@@ -191,8 +191,12 @@ sub get_plabinfo($)
# XXX This needs to be modified!
#
(
$del
,
$plr
,
$bw
)
=
@
{
$vals
[
0
]};
$del
=
$DEF_DEL
if
(
!
defined
(
$del
));
$plr
=
$DEF_PLR
if
(
!
defined
(
$plr
));
$bw
=
$DEF_BW
if
(
$bw
==
0
);
if
(
$bw
==
0
);
# undef or zero--zero BW is not very useful
}
print
"
elab-
$srcix
-> elab-
$dstix
:
"
.
...
...
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