summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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