Updated options procesign to allow either password= or passwd= for

compatibility with the way we set passwords in other places
This commit is contained in:
Mark Riddoch
2015-02-04 13:12:19 +00:00
parent 8ddb2fa732
commit 6bd8d1b507

View File

@ -270,6 +270,10 @@ unsigned char *defuuid;
{ {
inst->password = strdup(value); inst->password = strdup(value);
} }
else if (strcmp(options[i], "passwd") == 0)
{
inst->password = strdup(value);
}
else if (strcmp(options[i], "master-id") == 0) else if (strcmp(options[i], "master-id") == 0)
{ {
inst->masterid = atoi(value); inst->masterid = atoi(value);