From 8287fbe453d150a5e129ed204d89a4dce9b6982f Mon Sep 17 00:00:00 2001 From: Igor Ryzhov Date: Tue, 5 Mar 2024 15:30:37 +0200 Subject: [PATCH] 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 --- lib/northbound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5