From e442116524b9471cfe796f15526426924c6d7fea Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Wed, 20 May 2015 16:55:57 -0700 Subject: 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 Testing Done: See bugs --- vtysh/vtysh_user.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vtysh/vtysh_user.c') 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 = { -- cgit v1.2.3