Skip to content
  • Leigh B. Stoller's avatar
    Fix to previous revision. This code: · 5ceddc05
    Leigh B. Stoller authored
        my $node_type = virtnodetype($virtual);
        if (!(virtnodeisremote($virtual)
     	 && !nodetypeisdedicatedremote($node_type)));
    
    breaks things cause calling virtnodetype() without first checking to
    see if its a real vnode, places a null entry in the array, and messes
    up anyone else using the virtnodeisvnode() predicate. Instead:
    
        if (!virtnodeisvnode($virtual) ||
            !(virtnodeisremote($virtual)
    	  && !nodetypeisdedicatedremote(virtnodetype($virtual))));
    
    hopefully I got the logic that Dave was intending, correct!
    5ceddc05