summaryrefslogtreecommitdiff
path: root/lib/northbound_oper.c
diff options
context:
space:
mode:
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;