tree data BUGFIX always consider 2 containers equal
Disregarding their default flag.
diff --git a/src/tree_data.c b/src/tree_data.c
index e90aa7c..45f944b 100644
--- a/src/tree_data.c
+++ b/src/tree_data.c
@@ -1367,11 +1367,7 @@
case LYS_RPC:
case LYS_ACTION:
case LYS_NOTIF:
- if (options & LYD_COMPARE_DEFAULTS) {
- if ((node1->flags & LYD_DEFAULT) != (node2->flags & LYD_DEFAULT)) {
- return LY_ENOT;
- }
- }
+ /* implicit container is always equal to a container with non-default descendants */
if (options & LYD_COMPARE_FULL_RECURSION) {
return lyd_compare_siblings_(lyd_child(node1), lyd_child(node2), options, 1);
}