summaryrefslogtreecommitdiff
path: root/lib/northbound_oper.c
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2025-03-14 10:33:16 -0400
committerGitHub <noreply@github.com>2025-03-14 10:33:16 -0400
commitdbecefb6c6eac3ad9d798e66ae2a8c572590c0bd (patch)
treebb9e0e202ba7921fde81e5e775e51187a925769a /lib/northbound_oper.c
parente5848deedf01f77194b3cff457dc462230c257da (diff)
parent2586c4c3edeab982d65071e5d90329ba47189af4 (diff)
Merge pull request #18383 from LabNConsulting/chopps/fix-oper-state-list-query-bug
Fix bug with oper-state queries including list node
Diffstat (limited to 'lib/northbound_oper.c')
-rw-r--r--lib/northbound_oper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/northbound_oper.c b/lib/northbound_oper.c
index ad495b6f9c..c27fe3c019 100644
--- a/lib/northbound_oper.c
+++ b/lib/northbound_oper.c
@@ -407,6 +407,7 @@ static enum nb_error nb_op_xpath_to_trunk(const char *xpath_in, char **xpath_out
ret = yang_xpath_pop_node(xpath);
if (ret != NB_OK)
break;
+ darr_strlen_fixup(xpath);
}
if (ret == NB_OK)
*xpath_out = xpath;