summaryrefslogtreecommitdiffstats
path: root/sys/net/if_ppp.h
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>1997-10-17 21:30:30 +0000
committerroberto <roberto@FreeBSD.org>1997-10-17 21:30:30 +0000
commitbcb06c750a7b74ced0ee4a729ea9af1e879c11cb (patch)
tree223fbc26bf71e6acaa5a32419ffcf594f1b08f8f /sys/net/if_ppp.h
parentb6a8ab8abe2f919faa172f196da6dbe05b7407f0 (diff)
downloadFreeBSD-src-bcb06c750a7b74ced0ee4a729ea9af1e879c11cb.zip
FreeBSD-src-bcb06c750a7b74ced0ee4a729ea9af1e879c11cb.tar.gz
Change PPP_FILTER into NBPFILTER to fix kernel compilation.
It should probably be changed in ppp_tty.c for consistency but I'll let Brian deal with this. Forgotten by: brian
Diffstat (limited to 'sys/net/if_ppp.h')
-rw-r--r--sys/net/if_ppp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if_ppp.h b/sys/net/if_ppp.h
index 652e645..b24af72 100644
--- a/sys/net/if_ppp.h
+++ b/sys/net/if_ppp.h
@@ -16,7 +16,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id$
+ * $Id: if_ppp.h,v 1.9 1997/08/19 14:10:45 peter Exp $
*/
#ifndef _IF_PPP_H_
@@ -116,10 +116,10 @@ struct ifpppcstatsreq {
#define PPPIOCGNPMODE _IOWR('t', 76, struct npioctl) /* get NP mode */
#define PPPIOCSNPMODE _IOW('t', 75, struct npioctl) /* set NP mode */
#define PPPIOCGIDLE _IOR('t', 74, struct ppp_idle) /* get idle time */
-#ifdef PPP_FILTER
+#ifdef NBPFILTER
#define PPPIOCSPASS _IOW('t', 71, struct bpf_program) /* set pass filter */
#define PPPIOCSACTIVE _IOW('t', 70, struct bpf_program) /* set active filt */
-#endif /* PPP_FILTER */
+#endif /* NBPFILTER */
/* PPPIOC[GS]MTU are alternatives to SIOC[GS]IFMTU, used under Ultrix */
#define PPPIOCGMTU _IOR('t', 73, int) /* get interface MTU */
OpenPOWER on IntegriCloud