From e532543cea3a7bd6afd99b0de734f26bbccff333 Mon Sep 17 00:00:00 2001 From: Olof hagsand Date: Tue, 20 Sep 2022 10:52:44 +0200 Subject: [PATCH] Fixed: With-defaults: top-level container not properly trimmed --- lib/src/clixon_xml_map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/clixon_xml_map.c b/lib/src/clixon_xml_map.c index 380f155f..729df365 100644 --- a/lib/src/clixon_xml_map.c +++ b/lib/src/clixon_xml_map.c @@ -1124,7 +1124,7 @@ xml_defaults_nopresence(cxobj *xn, int rmx = 0; /* If set, remove this xn */ int ret; enum rfc_6020 keyw; - int config = 0; + int config = 1; if ((yn = xml_spec(xn)) != NULL){ keyw = yang_keyword_get(yn);