From 150ead77528b7038429fddd633b618720487bec1 Mon Sep 17 00:00:00 2001 From: Christian Hopps Date: Sun, 4 Aug 2024 20:43:04 -0400 Subject: [PATCH] lib: small fix for NBC #define name change in libyang3 Signed-off-by: Christian Hopps --- lib/yang.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/yang.c b/lib/yang.c index 44459df4a50a..fba2d6b82bd0 100644 --- a/lib/yang.c +++ b/lib/yang.c @@ -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. */