diff options
| author | Christian Hopps <chopps@labn.net> | 2023-10-13 22:51:11 -0400 |
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2023-12-28 17:52:57 +0000 |
| commit | 408ee24e411714596115d15c831dc59b22dec9f8 (patch) | |
| tree | dc4a0a2aa61bfb608ce186fe92fa8e80ae2e8fc4 /lib/northbound_sysrepo.c | |
| parent | d58653a5ba004f1d55981e8a69bcbdb82b87d354 (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.c | 2 |
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]", |
