From d5ebc860a7bbe288a69fdd2f837c6f68cb149551 Mon Sep 17 00:00:00 2001 From: peter Date: Fri, 22 Aug 1997 15:50:09 +0000 Subject: Turn on client callback support (CBCP), it seems to be complete. --- usr.sbin/pppd/Makefile | 10 +++++++++- usr.sbin/pppd/options.c | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'usr.sbin/pppd') 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 **)); -- cgit v1.1