1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

node_stop can be called if node is STARTED or CONNECTED

This commit is contained in:
Dennis Potter 2018-07-07 15:24:48 +02:00
parent 836adee4d6
commit 1bdd0a9e34

View file

@ -351,7 +351,7 @@ int node_stop(struct node *n)
{
int ret;
if (n->state != STATE_STARTED)
if (n->state != STATE_STARTED && n->state != STATE_CONNECTED)
return 0;
info("Stopping node %s", node_name(n));