summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pppd
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-08-22 15:50:09 +0000
committerpeter <peter@FreeBSD.org>1997-08-22 15:50:09 +0000
commitd5ebc860a7bbe288a69fdd2f837c6f68cb149551 (patch)
treee810f4fbbc83171e5527db2887c1c5ae8ca8bc47 /usr.sbin/pppd
parentf84d7f28e5ab44e364439b04c58bc829746f2cc9 (diff)
downloadFreeBSD-src-d5ebc860a7bbe288a69fdd2f837c6f68cb149551.zip
FreeBSD-src-d5ebc860a7bbe288a69fdd2f837c6f68cb149551.tar.gz
Turn on client callback support (CBCP), it seems to be complete.
Diffstat (limited to 'usr.sbin/pppd')
-rw-r--r--usr.sbin/pppd/Makefile10
-rw-r--r--usr.sbin/pppd/options.c2
2 files changed, 10 insertions, 2 deletions
diff --git a/usr.sbin/pppd/Makefile b/usr.sbin/pppd/Makefile
index f758d58..9d3db64 100644
--- a/usr.sbin/pppd/Makefile
+++ b/usr.sbin/pppd/Makefile
@@ -4,14 +4,22 @@ CFLAGS+= -DHAVE_PATHS_H
PROG= pppd
SRCS= main.c magic.c fsm.c lcp.c ipcp.c ipxcp.c upap.c chap.c ccp.c \
- demand.c auth.c options.c sys-bsd.c
+ demand.c auth.c options.c cbcp.c sys-bsd.c
MAN8= pppd.8
BINMODE=4555
BINOWN= root
+# as per handbook policies section
+MAINTAINER= peter@freebsd.org
+
+# Support SPX/IPX - not quite ready
#CFLAGS+=-DIPX_CHANGE
#SRCS+= ipxcp.c
+# Callback Control Protocol
+CFLAGS+=-DCBCP_SUPPORT
+SRCS+= cbcp.c
+
LDADD= -lcrypt -lutil -lmd
DPADD= ${LIBCRYPT} ${LIBUTIL} ${LIBMD}
diff --git a/usr.sbin/pppd/options.c b/usr.sbin/pppd/options.c
index 65e4c85..ee5bac2 100644
--- a/usr.sbin/pppd/options.c
+++ b/usr.sbin/pppd/options.c
@@ -159,7 +159,7 @@ static int setescape __P((char **));
static int setmru __P((char **));
static int setmtu __P((char **));
#ifdef CBCP_SUPPORT
-static int setcbcp __P((char *));
+static int setcbcp __P((char **));
#endif
static int nomru __P((char **));
static int nopcomp __P((char **));
OpenPOWER on IntegriCloud