summaryrefslogtreecommitdiff
path: root/vtysh
diff options
context:
space:
mode:
authorpaul <paul>2003-05-06 12:16:27 +0000
committerpaul <paul>2003-05-06 12:16:27 +0000
commit24cd435b1a24f8243da69dafa01286525f08291c (patch)
tree4476005d79f636550e826773a58a2784cdcf5b99 /vtysh
parenta805cc2d7030694ae2ae38403452ac3b90a40cff (diff)
From: Sergiy Vyshnevetskiy <serg@vostok.net>
Subject: [zebra 18947] [PATCH] openpam patch configure support for openpam (freebsd5.0)
Diffstat (limited to 'vtysh')
-rw-r--r--vtysh/vtysh_user.c7
1 files changed, 6 insertions, 1 deletions
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 <security/pam_appl.h>
+#ifdef HAVE_PAM_MISC_H
#include <security/pam_misc.h>
+#endif
+#ifdef HAVE_OPENPAM_H
+#include <security/openpam.h>
+#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
};