summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-09-26 18:44:29 +0000
committerpeter <peter@FreeBSD.org>1999-09-26 18:44:29 +0000
commit08f3dd54013dead522f9885679ae165780275590 (patch)
treeeb6d1a08ca494e636345f3d928c3b3f064b7edab /sys/net
parent31831e3e3cd912505d8247e5788c33fbb67eba45 (diff)
downloadFreeBSD-src-08f3dd54013dead522f9885679ae165780275590.zip
FreeBSD-src-08f3dd54013dead522f9885679ae165780275590.tar.gz
Minor tidy up of PPP_FILTER and NBPF stuff. Don't generate bpf.h in the
module and don't #include "bpf.h".
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_ppp.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/net/if_ppp.c b/sys/net/if_ppp.c
index edcc575a..1db8237 100644
--- a/sys/net/if_ppp.c
+++ b/sys/net/if_ppp.c
@@ -99,6 +99,7 @@
#include <net/if.h>
#include <net/if_types.h>
#include <net/netisr.h>
+#include <net/bpf.h>
#if INET
#include <netinet/in.h>
@@ -112,13 +113,6 @@
#include <netipx/ipx_if.h>
#endif
-#include "bpf.h"
-#include <net/bpf.h>
-
-#if defined(PPP_FILTER) && NBPF == 0
-#error "PPP_FILTER requires bpf"
-#endif
-
#ifdef VJC
#include <net/slcompress.h>
#endif
OpenPOWER on IntegriCloud