Skip to content

Commit

Permalink
Merge pull request #14752 from FRRouting/mergify/bp/dev/9.1/pr-14743
Browse files Browse the repository at this point in the history
mgmtd: fix local validation (backport #14743)
  • Loading branch information
donaldsharp authored Nov 8, 2023
2 parents 92ffb92 + 3d4e598 commit 177eaee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mgmtd/mgmt_txn.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 177eaee

Please sign in to comment.