Set CPack RPM packaging version to 1 and added a RUNNING option to readconnroute.

This commit is contained in:
Markus Makela
2015-03-19 20:11:22 +02:00
parent b4f5a4eb9f
commit 3a50b308b0
2 changed files with 6 additions and 1 deletions

View File

@ -311,6 +311,11 @@ char *weightby;
inst->bitmask |= (SERVER_MASTER|SERVER_SLAVE);
inst->bitvalue |= SERVER_SLAVE;
}
else if (!strcasecmp(options[i], "running"))
{
inst->bitmask |= (SERVER_RUNNING);
inst->bitvalue |= SERVER_RUNNING;
}
else if (!strcasecmp(options[i], "synced"))
{
inst->bitmask |= (SERVER_JOINED);