Added namespace when with-defaults=report-all-tagged
This commit is contained in:
parent
2f0f1ef5a7
commit
c8f98f7c3c
2 changed files with 3 additions and 1 deletions
|
|
@ -933,6 +933,8 @@ get_common(clicon_handle h,
|
|||
/* TODO. Remove empty containers */
|
||||
}
|
||||
else if (strcmp(with_defaults, "report-all-tagged") == 0) {
|
||||
if (xmlns_set(xret, "wd", "urn:ietf:params:xml:ns:netconf:default:1.0") < 0)
|
||||
goto done;
|
||||
/* Mark nodes having default schema values */
|
||||
if (xml_apply(xret, CX_ELMNT, (xml_applyfn_t*)xml_flag_default_value, (void*)XML_FLAG_MARK) < 0)
|
||||
goto done;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue