summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2023-11-08 11:17:13 -0500
committerGitHub <noreply@github.com>2023-11-08 11:17:13 -0500
commit82045dbfa5f1615a68287d8bfb7c5544ca832b70 (patch)
tree23da6535efcda5e79e51d4d55cebf8aa81cb341e
parentfa082128f91bcf4ccd86d0d6b82a046d7679b17b (diff)
parent25b52f6bf1b61003699edaa868d622df9e374587 (diff)
Merge pull request #14753 from FRRouting/mergify/bp/stable/9.0/pr-14743
mgmtd: fix local validation (backport #14743)
-rw-r--r--mgmtd/mgmt_txn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mgmtd/mgmt_txn.c b/mgmtd/mgmt_txn.c
index eff3b7e34c..5405cda3d9 100644
--- a/mgmtd/mgmt_txn.c
+++ b/mgmtd/mgmt_txn.c
@@ -1237,7 +1237,7 @@ static int mgmt_txn_prepare_config(struct mgmt_txn_ctx *txn)
nb_ctx.client = NB_CLIENT_MGMTD_SERVER;
nb_ctx.user = (void *)txn;
- ret = nb_candidate_validate_yang(nb_config, false, err_buf,
+ ret = nb_candidate_validate_yang(nb_config, true, err_buf,
sizeof(err_buf) - 1);
if (ret != NB_OK) {
if (strncmp(err_buf, " ", strlen(err_buf)) == 0)