summaryrefslogtreecommitdiffstats
path: root/pathd
diff options
context:
space:
mode:
Diffstat (limited to 'pathd')
-rw-r--r--pathd/path_pcep_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pathd/path_pcep_debug.c b/pathd/path_pcep_debug.c
index 370484dc1..55148d9d0 100644
--- a/pathd/path_pcep_debug.c
+++ b/pathd/path_pcep_debug.c
@@ -980,7 +980,7 @@ const char *format_yang_dnode(struct lyd_node *dnode)
char *buff;
int len;
- lyd_print_mem(&buff, dnode, LYD_JSON, LYP_FORMAT);
+ lyd_print_mem(&buff, dnode, LYD_JSON, LYD_PRINT_WD_ALL);
len = strlen(buff);
memcpy(_debug_buff, buff, len);
free(buff);