summaryrefslogtreecommitdiff
path: root/lib/northbound_sysrepo.c
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-10-13 22:51:11 -0400
committerChristian Hopps <chopps@labn.net>2023-12-28 17:52:57 +0000
commit408ee24e411714596115d15c831dc59b22dec9f8 (patch)
treedc4a0a2aa61bfb608ce186fe92fa8e80ae2e8fc4 /lib/northbound_sysrepo.c
parentd58653a5ba004f1d55981e8a69bcbdb82b87d354 (diff)
lib: create and use libyang tree during oper-state walk
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'lib/northbound_sysrepo.c')
-rw-r--r--lib/northbound_sysrepo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/northbound_sysrepo.c b/lib/northbound_sysrepo.c
index 7fd4af8356..ea5aa22b14 100644
--- a/lib/northbound_sysrepo.c
+++ b/lib/northbound_sysrepo.c
@@ -378,7 +378,7 @@ static int frr_sr_state_cb(sr_session_ctx_t *session, uint32_t sub_id,
dnode = *parent;
if (nb_oper_data_iterate(request_xpath, NULL, 0,
- frr_sr_state_data_iter_cb, dnode)
+ frr_sr_state_data_iter_cb, dnode, NULL)
!= NB_OK) {
flog_warn(EC_LIB_NB_OPERATIONAL_DATA,
"%s: failed to obtain operational data [xpath %s]",