diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2023-02-24 07:37:09 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-24 07:37:09 -0500 |
| commit | 7cedcf270e01097ed2d675e12f9be0dfd4f7d69b (patch) | |
| tree | 8348d055ddc0c956ecdadcc64c508ecfebc9c92a /lib/vty.c | |
| parent | ba995a720b498955720f0caeeb4d26bac2b84be4 (diff) | |
| parent | 41ef7327e3ebf9f0293c6046190aceb9d44f8414 (diff) | |
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) |
