* Added SM_RUNNING_STARTUP to translation table

* Fixed https://github.com/clicon/clixon/issues/224 yet again by addressing a mixed xml and yang namespace xpath case
This commit is contained in:
Olof hagsand 2021-05-27 14:55:04 +02:00
parent e0c3f5467c
commit 965cce5e5d
4 changed files with 15 additions and 25 deletions

View file

@ -96,9 +96,10 @@ static const map_str2int cli_genmodel_map[] = {
see clixon-config.yang type startup_mode */
static const map_str2int startup_mode_map[] = {
{"none", SM_NONE},
{"running", SM_RUNNING},
{"startup", SM_STARTUP},
{"init", SM_INIT},
{"running", SM_RUNNING},
{"startup", SM_STARTUP},
{"startup", SM_RUNNING_STARTUP},
{NULL, -1}
};