Commit 1372580e authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor big fix.

parent 84f79f51
...@@ -2473,9 +2473,13 @@ sub SetNodeHistory($$$$) ...@@ -2473,9 +2473,13 @@ sub SetNodeHistory($$$$)
print STDERR print STDERR
"*** SetNodeHistory: No control interface for $self\n"; "*** SetNodeHistory: No control interface for $self\n";
} }
$cnet_ip = $interface->IP(); else {
if (!defined($cnet_ip) || $cnet_ip eq "") { $cnet_ip = $interface->IP();
print STDERR "*** SetNodeHistory: No control IP for $interface\n"; if (!defined($cnet_ip) || $cnet_ip eq "") {
print STDERR
"*** SetNodeHistory: No control IP for $interface\n";
$cnet_ip = undef;
}
} }
$phys_nodeid = $self->phys_nodeid(); $phys_nodeid = $self->phys_nodeid();
} }
......
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