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_cli.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_cli.c')
| -rw-r--r-- | lib/northbound_cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/northbound_cli.c b/lib/northbound_cli.c index f2415d3383..cba40035a3 100644 --- a/lib/northbound_cli.c +++ b/lib/northbound_cli.c @@ -1492,7 +1492,7 @@ DEFPY (show_yang_operational_data, /* Obtain data. */ dnode = yang_dnode_new(ly_ctx, false); ret = nb_oper_data_iterate(xpath, translator, 0, nb_cli_oper_data_cb, - dnode); + dnode, NULL); if (ret != NB_OK) { if (format == LYD_JSON) vty_out(vty, "{}\n"); |
