read whole running config when reading state data

This commit is contained in:
Olof hagsand 2020-01-31 16:13:50 +01:00
parent 20d28b4796
commit b7f1d72c28

View file

@ -1000,7 +1000,7 @@ from_client_get(clicon_handle h,
* metrged with state data, so zero-copy cant be used
* Also, must use external namespace context here due to <filter stmt
*/
if (xmldb_get0(h, "running", nsc, xpath, 1, &xret, NULL) < 0) {
if (xmldb_get0(h, "running", nsc, NULL, 1, &xret, NULL) < 0) {
if (netconf_operation_failed(cbret, "application", "read registry")< 0)
goto done;
goto ok;