RESTCONF PATCH (plain patch) is supported according to RFC 8040 4.6.1

This commit is contained in:
Olof hagsand 2019-08-08 11:42:45 +02:00
parent bb2eaa3cc7
commit 46b6a8008a
15 changed files with 375 additions and 474 deletions

View file

@ -116,7 +116,10 @@ api_data_get2(clicon_handle h,
cvec *nsc = NULL;
clicon_debug(1, "%s", __FUNCTION__);
yspec = clicon_dbspec_yang(h);
if ((yspec = clicon_dbspec_yang(h)) == NULL){
clicon_err(OE_FATAL, 0, "No DB_SPEC");
goto done;
}
if ((cbpath = cbuf_new()) == NULL)
goto done;
cprintf(cbpath, "/");