summaryrefslogtreecommitdiffstats
path: root/sys/net/ppp_tty.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-10-18 01:20:28 +0000
committerpeter <peter@FreeBSD.org>1997-10-18 01:20:28 +0000
commit188c833307a2b05f231caa91d55524bf93630ab0 (patch)
treeb370270d143532d23212d96d6505ea565f577e2a /sys/net/ppp_tty.c
parent8b1ecf4d4cf01928d62af8d956928ad1b79215f6 (diff)
downloadFreeBSD-src-188c833307a2b05f231caa91d55524bf93630ab0.zip
FreeBSD-src-188c833307a2b05f231caa91d55524bf93630ab0.tar.gz
Convert PPP_FILTER to an option, like PPP_BSDCOMP and PPP_DEFLATE.
It requires bpf, I'll note this in LINT.
Diffstat (limited to 'sys/net/ppp_tty.c')
-rw-r--r--sys/net/ppp_tty.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/net/ppp_tty.c b/sys/net/ppp_tty.c
index 200019f..f8093c0 100644
--- a/sys/net/ppp_tty.c
+++ b/sys/net/ppp_tty.c
@@ -70,17 +70,21 @@
* Paul Mackerras (paulus@cs.anu.edu.au).
*/
-/* $Id: ppp_tty.c,v 1.25 1997/10/10 11:57:43 peter Exp $ */
+/* $Id: ppp_tty.c,v 1.26 1997/10/18 00:56:23 peter Exp $ */
#include "ppp.h"
#if NPPP > 0
+#include "opt_ppp.h"
+
#define VJC
#define PPP_COMPRESS
+#ifdef PPP_FILTER
#include "bpfilter.h"
-#if NBPFILTER > 0
-#define PPP_FILTER
+#if NBPFILTER == 0
+#error "PPP_FILTER requires bpf"
+#endif
#endif
OpenPOWER on IntegriCloud