Implementation of OpenConfig path compression.
This commit is contained in:
parent
2f56357adb
commit
4ac1f0bad0
6 changed files with 20 additions and 7 deletions
|
|
@ -353,7 +353,7 @@ cli_xml2cli(cxobj *xn,
|
|||
yang_keyword_get(ys) == Y_LEAF_LIST){
|
||||
if (prepend)
|
||||
(*fn)(stdout, "%s", prepend);
|
||||
if (gt == GT_ALL || gt == GT_VARS || gt == GT_HIDE)
|
||||
if (gt == GT_ALL || gt == GT_VARS || gt == GT_HIDE || gt == GT_OC_COMPRESS)
|
||||
(*fn)(stdout, "%s ", xml_name(xn));
|
||||
if ((body = xml_body(xn)) != NULL){
|
||||
if (index(body, ' '))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue