Implementation of OpenConfig path compression.

This commit is contained in:
Kristofer Hallin 2021-10-15 13:55:31 +02:00
parent 2f56357adb
commit 4ac1f0bad0
No known key found for this signature in database
GPG key ID: 5A2B21943DE5C500
6 changed files with 20 additions and 7 deletions

View file

@ -3255,7 +3255,7 @@ yang_container_cli_hide(yang_stmt *ys,
keyw = yang_keyword_get(ys);
/* HIDE mode */
if (gt != GT_HIDE)
if (gt != GT_HIDE && gt != GT_OC_COMPRESS)
return 0;
/* A container */
if (yang_keyword_get(ys) != Y_CONTAINER)