Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
4aeedc82
Commit
4aeedc82
authored
May 11, 2010
by
Mike Hibler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deal with case where control net does not have an IP address.
parent
7d087132
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
tbsetup/nfstrace.in
tbsetup/nfstrace.in
+5
-2
No files found.
tbsetup/nfstrace.in
View file @
4aeedc82
...
...
@@ -2,7 +2,7 @@
#
# EMULAB-COPYRIGHT
# Copyright (c) 2005, 2006 University of Utah and the Flux Group.
# Copyright (c) 2005, 2006
, 2010
University of Utah and the Flux Group.
# All rights reserved.
#
...
...
@@ -199,7 +199,10 @@ if ($cmd eq "gc" && defined($pid)) {
"
and pid='
$pid
' and eid='
$eid
'
");
while
(
my
(
$vname
,
$ip
)
=
$nodes_result
->
fetchrow_array
)
{
print
NT_WRITER
"
$vname
:
$ip
\n
";
# not all devices have an IP address on the control net
if
(
$ip
)
{
print
NT_WRITER
"
$vname
:
$ip
\n
";
}
}
}
...
...
Write
Preview
Markdown
is supported
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