commit | 635d2b80aec2ad24b3e3d9dc7e5a082614ee1a9c | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Mon Jan 04 11:26:51 2021 +0100 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Mon Jan 04 13:00:34 2021 +0100 |
tree | c75d4073f94ea6df9c5dcb0226db57c9635ecd7f | |
parent | bb9d2247adcf4ef4b51054987d1f4be2fbef057d [diff] [blame] |
data tree CHANGE to clarify purpose, rename data path types Clarify how the paths generated by lyd_path() can be used. Fixes #1317
diff --git a/src/log.c b/src/log.c index 5208c94..8dde303 100644 --- a/src/log.c +++ b/src/log.c
@@ -429,7 +429,7 @@ LY_CHECK_ERR_RET(!(*path), LOGMEM(ctx), LY_EMEM); break; case LY_VLOG_LYD: - *path = lyd_path(elem, LYD_PATH_LOG, NULL, 0); + *path = lyd_path(elem, LYD_PATH_STD, NULL, 0); LY_CHECK_ERR_RET(!(*path), LOGMEM(ctx), LY_EMEM); break; default: