summaryrefslogtreecommitdiff
path: root/lib/northbound.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/northbound.c')
-rw-r--r--lib/northbound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/northbound.c b/lib/northbound.c
index 12d08310c6..21bbc63f67 100644
--- a/lib/northbound.c
+++ b/lib/northbound.c
@@ -189,7 +189,7 @@ struct nb_config *nb_config_new(struct lyd_node *dnode)
if (dnode)
config->dnode = dnode;
else
- config->dnode = yang_dnode_new(ly_native_ctx);
+ config->dnode = yang_dnode_new(ly_native_ctx, true);
config->version = 0;
return config;