diff options
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/targeting/runtime/attrrp_rt.C | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/usr/targeting/runtime/attrrp_rt.C b/src/usr/targeting/runtime/attrrp_rt.C index 5227f3f83..33d759ad5 100644 --- a/src/usr/targeting/runtime/attrrp_rt.C +++ b/src/usr/targeting/runtime/attrrp_rt.C @@ -134,17 +134,17 @@ namespace TARGETING ++l_node; } // while } - else // Single-node system + else // Single-node system, hb_images will be zero, but the + // variable, i_instance, will be equal to the node id + // of the only functional node in the system, and will + // not always be node zero { - // Check if current node is the node of interest - if(l_node == i_instance) - { - // Flag that input instance is a valid node - l_validNode = true; - } + // Flag that input instance is a valid node + l_validNode = true; - // Replace maximum node ID - io_maxNodeId = l_node; + // Replace maximum node ID with + // this nodes instance id + io_maxNodeId = i_instance; } // Input instance is not a valid node |