summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pppd/auth.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-03-01 19:29:44 +0000
committerphk <phk@FreeBSD.org>1996-03-01 19:29:44 +0000
commit8bc36c3dbc3c59e9d8632ddda344652ff44d3ec1 (patch)
tree1c9cbef7f7c1e9feb2933a403aacaa972df34957 /usr.sbin/pppd/auth.c
parent0d3859fc4832bd1d80625f81b97b1e37cc44bb93 (diff)
downloadFreeBSD-src-8bc36c3dbc3c59e9d8632ddda344652ff44d3ec1.zip
FreeBSD-src-8bc36c3dbc3c59e9d8632ddda344652ff44d3ec1.tar.gz
Use libmd.
Add support for negotiating (more like "informing peer") about DNS. Various cleanup of warnings.
Diffstat (limited to 'usr.sbin/pppd/auth.c')
-rw-r--r--usr.sbin/pppd/auth.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/pppd/auth.c b/usr.sbin/pppd/auth.c
index dd9735b..f180ef1 100644
--- a/usr.sbin/pppd/auth.c
+++ b/usr.sbin/pppd/auth.c
@@ -33,12 +33,13 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: auth.c,v 1.17 1995/08/16 01:37:22 paulus Exp $";
+static char rcsid[] = "$Id: auth.c,v 1.5 1995/10/31 21:20:45 peter Exp $";
#endif
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
+#include <unistd.h>
#include <syslog.h>
#include <pwd.h>
#include <string.h>
@@ -110,8 +111,6 @@ static int scan_authfile __P((FILE *, char *, char *, char *,
struct wordlist **, char *));
static void free_wordlist __P((struct wordlist *));
-extern char *crypt __P((char *, char *));
-
/*
* An Open on LCP has requested a change from Dead to Establish phase.
* Do what's necessary to bring the physical layer up.
OpenPOWER on IntegriCloud