Commit f22ad423 authored by Leigh Stoller's avatar Leigh Stoller

Minor bug fix; vhosts where ending up as fixed nodes in the top file

during a modify. Not supposed to!
parent da0a1419
......@@ -3423,8 +3423,8 @@ sub CreateTopFile()
# NB: This must be done last since we create internal nodes above.
#
foreach my $node (keys(%fixed_nodes)) {
if (!virtnodeusewan($node) &&
(virtnodeisvnode($node) || exists $delaynodes{$node})) {
if ((virtnodeisvnode($node) && !virtnodeusewan($node)) ||
exists($delaynodes{$node})) {
my $pnode = $fixed_nodes{$node};
print TOPFILE "fix-node $node $pnode\n";
......
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