Skip to content

Commit

Permalink
confd: fix invalid module prefix to legacy motd setting
Browse files Browse the repository at this point in the history
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
  • Loading branch information
troglobit authored and wkz committed Jun 3, 2024
1 parent 8eb67c1 commit 2218901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/confd/src/ietf-system.c
Original file line number Diff line number Diff line change
Expand Up @@ -1272,7 +1272,7 @@ static int change_motd_banner(sr_session_ctx_t *session, uint32_t sub_id, const
if (event != SR_EV_DONE)
return SR_ERR_OK;

legacy = srx_get_str(session, "/ietf-system:system/infix-sys:motd");
legacy = srx_get_str(session, "/ietf-system:system/infix-system:motd");
if (legacy) {
NOTE("Legacy /system/motd exists, skipping %s", xpath);
free(legacy);
Expand Down

0 comments on commit 2218901

Please sign in to comment.