diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-05-21 01:55:57 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-05-21 01:55:57 +0200 |
commit | e442116524b9471cfe796f15526426924c6d7fea (patch) | |
tree | d648b2c7121c4cd92ce1bf5a8296c0ef5c9c9791 /vtysh/vtysh_user.c | |
parent | Fixup 'force' -vs- 'all' compile issue (diff) | |
download | frr-e442116524b9471cfe796f15526426924c6d7fea.tar.xz frr-e442116524b9471cfe796f15526426924c6d7fea.zip |
vtysh-integrated-fix.patch
Lost config when switching back and forth between 'service integrated-vtysh-config'.
Also it was possible to have config files not be read in if they were not generated.
Ticket: CM-6011, CM-6033
Reviewed By: Daniel Walton <dwalton@cumulusnetworks.com>
Testing Done: See bugs
Diffstat (limited to 'vtysh/vtysh_user.c')
-rw-r--r-- | vtysh/vtysh_user.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vtysh/vtysh_user.c b/vtysh/vtysh_user.c index c074169fd..27a5fdf98 100644 --- a/vtysh/vtysh_user.c +++ b/vtysh/vtysh_user.c @@ -55,6 +55,9 @@ struct vtysh_user *user_get(const char *); int vtysh_auth(void); void vtysh_user_init(void); +extern struct list *config_top; +extern void config_add_line(struct list *config, const char *line); + #ifdef USE_PAM static struct pam_conv conv = { |