* Fixed: [The config false leaf shouldn't be configed in startup stage #189](https://github.com/clicon/clixon/issues/189)

This commit is contained in:
Olof hagsand 2021-03-11 09:11:14 +01:00
parent f01efaf02a
commit dea3962cc0
6 changed files with 38 additions and 6 deletions

View file

@ -1478,9 +1478,8 @@ xml_non_config_data(cxobj *xt,
clicon_err(OE_UNIX, errno, "cbuf_new");
goto done;
}
cprintf(cb, "%s in module %s: state data node unexpected",
yang_argument_get(y), yang_argument_get(ys_module(y)));
if (netconf_invalid_value_xml(xerr, "application", cbuf_get(cb)) < 0)
cprintf(cb, "module %s: state data node unexpected", yang_argument_get(ys_module(y)));
if (netconf_bad_element_xml(xerr, "application", yang_argument_get(y), cbuf_get(cb)) < 0)
goto done;
retval = 0;
goto done;