Restconf: include -E configdir when starting restconf daemon
This commit is contained in:
parent
9df084958e
commit
18c29f018a
2 changed files with 14 additions and 1 deletions
|
|
@ -676,7 +676,14 @@ restconf_clixon_backend(clixon_handle h,
|
|||
clicon_session_id_set(h, id);
|
||||
break;
|
||||
}
|
||||
if ((nsc = xml_nsctx_init(NULL, CLIXON_RESTCONF_NS)) == NULL)
|
||||
if ((nsc = xml_nsctx_init(NULL,
|
||||
/* XXX HARDCODED NAMESPACE NEEDS GENERIC MECHANISM */
|
||||
#if 1
|
||||
"http://clicon.org/controller"
|
||||
#else
|
||||
CLIXON_RESTCONF_NS
|
||||
#endif
|
||||
)) == NULL)
|
||||
goto done;
|
||||
if ((pw = getpwuid(getuid())) == NULL){
|
||||
clixon_err(OE_UNIX, errno, "getpwuid");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue