Skip to content
Snippets Groups Projects
Commit 7a7af9e3 authored by Moe Jette's avatar Moe Jette
Browse files

Avoid seg-fault if node state includes NON_RESPONDING flag.

parent bc514df3
No related branches found
No related tags found
No related merge requests found
......@@ -595,5 +595,6 @@ char *node_state_string_compact(enum node_states inx)
"DG",
"END"
};
inx = (uint16_t) (inx & (~NODE_STATE_NO_RESPOND));
return node_state_string[inx];
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment