From 24cd435b1a24f8243da69dafa01286525f08291c Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 6 May 2003 12:16:27 +0000 Subject: From: Sergiy Vyshnevetskiy Subject: [zebra 18947] [PATCH] openpam patch configure support for openpam (freebsd5.0) --- vtysh/vtysh_user.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'vtysh') diff --git a/vtysh/vtysh_user.c b/vtysh/vtysh_user.c index b84da2eb..ecbe0f4c 100644 --- a/vtysh/vtysh_user.c +++ b/vtysh/vtysh_user.c @@ -25,7 +25,12 @@ #ifdef USE_PAM #include +#ifdef HAVE_PAM_MISC_H #include +#endif +#ifdef HAVE_OPENPAM_H +#include +#endif #endif /* USE_PAM */ #include "memory.h" @@ -35,7 +40,7 @@ #ifdef USE_PAM static struct pam_conv conv = { - misc_conv, + PAM_CONV_FUNC, NULL }; -- cgit v1.2.1