summaryrefslogtreecommitdiff
path: root/lib/northbound.c
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2024-03-05 15:30:37 +0200
committerIgor Ryzhov <iryzhov@nfware.com>2024-03-05 15:30:37 +0200
commit8287fbe453d150a5e129ed204d89a4dce9b6982f (patch)
tree43f5cab35d33362985ae7f02316771b0b8496344 /lib/northbound.c
parenta44918640f8aa1a7b2626dc69eb385c7768a700b (diff)
lib: fix apply_finish callback in northbound
When a node is top-level, we shouldn't stop the whole processing, we should just skip this single node. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
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 25ea658bc4..487f225913 100644
--- a/lib/northbound.c
+++ b/lib/northbound.c
@@ -1873,7 +1873,7 @@ static void nb_transaction_apply_finish(struct nb_transaction *transaction,
dnode = lyd_parent(dnode);
if (!dnode)
- break;
+ continue;
/*
* The dnode from 'delete' callbacks point to elements