summaryrefslogtreecommitdiffstats
path: root/sys/net/ppp_tty.c
diff options
context:
space:
mode:
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