completing the function of hide for autocli-op in the yang files

This commit is contained in:
shmuels 2021-04-18 16:58:18 +03:00
parent 8ca5944111
commit c370ac8706
16 changed files with 98 additions and 44 deletions

View file

@ -281,9 +281,9 @@ main(int argc, char **argv)
if (sort)
xml_sort_recurse(xb);
if (strcmp(xml_name(xb),"top")==0)
clicon_xml2file(stdout, xml_child_i_type(xb, 0, CX_ELMNT), 0, 0);
clicon_xml2file(stdout, xml_child_i_type(xb, 0, CX_ELMNT), 0, 0, 0);
else
clicon_xml2file(stdout, xb, 0, 0);
clicon_xml2file(stdout, xb, 0, 0, 0);
fprintf(stdout, "\n");
retval = 0;
done: