readconnroute now accepts RUNNING as server status when no router_options are given.
This commit is contained in:
Markus Makela 2015-03-19 15:44:14 +02:00
parent 23bcabe5e3
commit b4f5a4eb9f

View File

@ -333,7 +333,12 @@ char *weightby;
}
}
}
if(inst->bitmask == 0 && inst->bitvalue == 0)
{
/** No parameters given, use RUNNING as a valid server */
inst->bitmask |= (SERVER_RUNNING);
inst->bitvalue |= SERVER_RUNNING;
}
/*
* We have completed the creation of the instance data, so now
* insert this router instance into the linked list of routers