diff options
author | peter <peter@FreeBSD.org> | 1997-10-18 01:20:28 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-10-18 01:20:28 +0000 |
commit | 188c833307a2b05f231caa91d55524bf93630ab0 (patch) | |
tree | b370270d143532d23212d96d6505ea565f577e2a /sys/net/if_ppp.c | |
parent | 8b1ecf4d4cf01928d62af8d956928ad1b79215f6 (diff) | |
download | FreeBSD-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/if_ppp.c')
-rw-r--r-- | sys/net/if_ppp.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/net/if_ppp.c b/sys/net/if_ppp.c index 22335d5..3cda41f 100644 --- a/sys/net/if_ppp.c +++ b/sys/net/if_ppp.c @@ -69,7 +69,7 @@ * Paul Mackerras (paulus@cs.anu.edu.au). */ -/* $Id: if_ppp.c,v 1.47 1997/10/18 00:46:09 peter Exp $ */ +/* $Id: if_ppp.c,v 1.48 1997/10/18 00:56:22 peter Exp $ */ /* from if_sl.c,v 1.11 84/10/04 12:54:47 rick Exp */ /* from NetBSD: if_ppp.c,v 1.15.2.2 1994/07/28 05:17:58 cgd Exp */ @@ -81,9 +81,11 @@ #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 #include <sys/param.h> |