diff options
author | Donald Sharp <donaldsharp72@gmail.com> | 2023-02-24 13:37:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-24 13:37:09 +0100 |
commit | 7cedcf270e01097ed2d675e12f9be0dfd4f7d69b (patch) | |
tree | 8348d055ddc0c956ecdadcc64c508ecfebc9c92a /lib/vty.c | |
parent | Merge pull request #12751 from Pdoijode/pdoijode/ospf-vrf-neighbor-detail-1 (diff) | |
parent | lib: fix init. use of nb_context to be by value not by reference (diff) | |
download | frr-7cedcf270e01097ed2d675e12f9be0dfd4f7d69b.tar.xz frr-7cedcf270e01097ed2d675e12f9be0dfd4f7d69b.zip |
Merge pull request #12889 from LabNConsulting/chopps/fix-nb-context-arg
lib: fix init. use of nb_context to be by value not by reference
Diffstat (limited to 'lib/vty.c')
-rw-r--r-- | lib/vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2420,7 +2420,7 @@ static void vty_read_file(struct nb_config *config, FILE *confp) context.client = NB_CLIENT_CLI; context.user = vty; - ret = nb_candidate_commit(&context, vty->candidate_config, true, + ret = nb_candidate_commit(context, vty->candidate_config, true, "Read configuration file", NULL, errmsg, sizeof(errmsg)); if (ret != NB_OK && ret != NB_ERR_NO_CHANGES) |