summaryrefslogtreecommitdiff
path: root/lib/northbound.c
diff options
context:
space:
mode:
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 8b96dc4a6c..09aa60b1d2 100644
--- a/lib/northbound.c
+++ b/lib/northbound.c
@@ -1071,7 +1071,7 @@ static int nb_oper_data_iter_list(const struct nb_node *nb_node,
/* Iterate over all list entries. */
do {
struct yang_list_keys list_keys;
- char xpath[XPATH_MAXLEN];
+ char xpath[XPATH_MAXLEN * 2];
int ret;
/* Obtain list entry. */