Skip to content

Commit

Permalink
lib: small fix for NBC #define name change in libyang3
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Hopps <[email protected]>
  • Loading branch information
choppsv1 committed Aug 5, 2024
1 parent 975e1a3 commit 150ead7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/yang.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ DEFINE_MTYPE_STATIC(LIB, YANG_DATA, "YANG data structure");
#define yang_lyd_find_xpath3(ctx_node, tree, xpath, format, prefix_data, vars, \
set) \
lyd_find_xpath3(ctx_node, tree, xpath, LY_VALUE_JSON, NULL, vars, set)

#ifndef LYD_NEW_PATH_OUTPUT
#define LYD_NEW_PATH_OUTPUT LYD_NEW_VAL_OUTPUT
#endif
#endif

/* libyang container. */
Expand Down

0 comments on commit 150ead7

Please sign in to comment.