diff options
| author | Christian Hopps <chopps@labn.net> | 2025-01-16 04:13:08 +0000 |
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2025-01-18 16:13:54 +0000 |
| commit | 94f70c2100ef6709e03f28c541a8bfb175eff2c8 (patch) | |
| tree | ccecb85a36b4a96cd4b7634051f3cce70d43cfea /lib/northbound.c | |
| parent | 2375a11b088a6c8bc6f9133d7873d7096f7daa00 (diff) | |
lib: mgmt_be_client handles datastore notification using CBs
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'lib/northbound.c')
| -rw-r--r-- | lib/northbound.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/northbound.c b/lib/northbound.c index 418cb246f6..400309a750 100644 --- a/lib/northbound.c +++ b/lib/northbound.c @@ -1857,7 +1857,7 @@ int nb_callback_rpc(const struct nb_node *nb_node, const char *xpath, return nb_node->cbs.rpc(&args); } -void nb_callback_notify(const struct nb_node *nb_node, const char *xpath, +void nb_callback_notify(const struct nb_node *nb_node, uint8_t op, const char *xpath, struct lyd_node *dnode) { struct nb_cb_notify_args args = {}; @@ -1865,6 +1865,7 @@ void nb_callback_notify(const struct nb_node *nb_node, const char *xpath, DEBUGD(&nb_dbg_cbs_notify, "northbound notify: %s", xpath); args.xpath = xpath; + args.op = op; args.dnode = dnode; nb_node->cbs.notify(&args); } |
