summaryrefslogtreecommitdiff
path: root/pathd/path_pcep_debug.c
diff options
context:
space:
mode:
authorMartin Winter <mwinter@opensourcerouting.org>2021-05-14 01:12:06 +0200
committerGitHub <noreply@github.com>2021-05-14 01:12:06 +0200
commitd8baf3db2d559fc13b3137ba9e3c6fa998f7e773 (patch)
tree7bb01bcf098421c5bdef61b932309ebfc9d8b9ad /pathd/path_pcep_debug.c
parentd390582e647f744d36d5be80a1fe7716d8bf0e50 (diff)
parent3bb513c399c2e7c8dd597b7399dd7c0f064842d0 (diff)
Merge pull request #8144 from LabNConsulting/chopps/ly2
libyang2
Diffstat (limited to 'pathd/path_pcep_debug.c')
-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 370484dc1b..55148d9d05 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);