summaryrefslogtreecommitdiffstats
path: root/vtysh/vtysh_user.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-05-21 01:55:57 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-05-21 01:55:57 +0200
commite442116524b9471cfe796f15526426924c6d7fea (patch)
treed648b2c7121c4cd92ce1bf5a8296c0ef5c9c9791 /vtysh/vtysh_user.c
parentFixup 'force' -vs- 'all' compile issue (diff)
downloadfrr-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.c3
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 =
{