System-only-config

* Fix startup diff
* Add system-only to running on startup
* JSON support:
This commit is contained in:
Olof hagsand 2024-10-16 13:46:47 +02:00
parent 3a656fac07
commit 69b65ad13d
19 changed files with 276 additions and 105 deletions

View file

@ -213,7 +213,7 @@ api_root_restconf_exact(clixon_handle h,
break;
case YANG_DATA_JSON:
case YANG_PATCH_JSON:
if (clixon_json2cbuf(cb, xt, pretty, 0, 0) < 0)
if (clixon_json2cbuf(cb, xt, pretty, 0, 0, 0) < 0)
goto done;
break;
default:
@ -299,7 +299,7 @@ api_yang_library_version(clixon_handle h,
break;
case YANG_DATA_JSON:
case YANG_PATCH_JSON:
if (clixon_json2cbuf(cb, xt, pretty, 0, 0) < 0)
if (clixon_json2cbuf(cb, xt, pretty, 0, 0, 0) < 0)
goto done;
break;
default: