// If this message is from ourselves or the base, don't bother adding it to the active nodes.
if ( header.from_node != this_node || header.from_node > 00 )
add_node(header.from_node);
}
I think this is correct line, because the node add himself to list anyway (because >0)
// If this message is from ourselves or the base, don't bother adding it to the active nodes.
if ( header.from_node != this_node && header.from_node != 00 )
add_node(header.from_node);
}
If node != itself AND node != 0 then addnodetolist.
I check your code and see this:
// If this message is from ourselves or the base, don't bother adding it to the active nodes. if ( header.from_node != this_node || header.from_node > 00 ) add_node(header.from_node); }
I think this is correct line, because the node add himself to list anyway (because >0)
// If this message is from ourselves or the base, don't bother adding it to the active nodes. if ( header.from_node != this_node && header.from_node != 00 ) add_node(header.from_node); }
If node != itself AND node != 0 then addnodetolist.