]> git.puffer.fish Git - matthieu/frr.git/commitdiff
vtysh: vtysh_pam() needs an ifdef USE_PAM check
authorDaniel Walton <dwalton@cumulusnetworks.com>
Fri, 27 May 2016 14:31:41 +0000 (14:31 +0000)
committerDaniel Walton <dwalton@cumulusnetworks.com>
Fri, 27 May 2016 14:31:41 +0000 (14:31 +0000)
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
vtysh/vtysh_user.c

index 551aac1bfa2ffa6d6e5be62d0996886149cb4ec1..e65b7bb1189dee83384306309c6e66a7906feff4 100644 (file)
@@ -44,7 +44,9 @@
  * The DEFUNSH and DEFUN macro's are messing with the
  * compiler I believe.  This is just to make it happy.
  */
+#ifdef USE_PAM
 static int vtysh_pam(const char *);
+#endif
 struct vtysh_user *user_new(void);
 void user_free(struct vtysh_user *);
 struct vtysh_user *user_lookup(const char *);