mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 15:23:39 +00:00
Merge pull request #14752 from FRRouting/mergify/bp/dev/9.1/pr-14743
mgmtd: fix local validation (backport #14743)
This commit is contained in:
commit
177eaeebc6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user