Fixed: [clixon_restconf not properly configed and started by clixon_backend #193](clixon_restconf not properly configed and started by clixon_backend #193)

This commit is contained in:
Olof hagsand 2021-03-22 12:20:52 +01:00
parent 5ec8965d18
commit 6d23963d8b
2 changed files with 2 additions and 1 deletions

View file

@ -468,7 +468,7 @@ main(int argc,
}
/* Extract restconf configuration */
if ((xrestconf2 = xpath_first(xconfig2, nsc, "restconf")) != NULL){
if ((ret = restconf_config_init(h, xrestconf1)) < 0)
if ((ret = restconf_config_init(h, xrestconf2)) < 0)
goto done;
if (ret == 1)
configure_done = 1;