From 148982d3a93eb6755d74588572478b0c808f31b8 Mon Sep 17 00:00:00 2001 From: Olof hagsand Date: Mon, 27 May 2024 14:32:18 +0200 Subject: [PATCH] Fix NETCONF filtering patch --- lib/src/clixon_datastore_write.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/clixon_datastore_write.c b/lib/src/clixon_datastore_write.c index 4033f9864..27df19fd3 100644 --- a/lib/src/clixon_datastore_write.c +++ b/lib/src/clixon_datastore_write.c @@ -928,9 +928,9 @@ text_modify(clixon_handle h, if (x0vec[j] == x0c) break; if (j==i) - x0vec[i++] = x0c; /* != NULL if x0c is matching x1c */ + x0vec[i] = x0c; /* != NULL if x0c is matching x1c */ } - + i++; } /* Second pass: Loop through children of the x1 modification tree again * Now potentially modify x0:s children