summaryrefslogtreecommitdiffstats
path: root/sys/net/if_ppp.h
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>1997-10-17 21:50:32 +0000
committerroberto <roberto@FreeBSD.org>1997-10-17 21:50:32 +0000
commitb5e0a197bf2d3e00e36d9b393d582869b91ea8be (patch)
tree2f4b7e41655903f66df2f148a0766e58111a8a98 /sys/net/if_ppp.h
parentbcb06c750a7b74ced0ee4a729ea9af1e879c11cb (diff)
downloadFreeBSD-src-b5e0a197bf2d3e00e36d9b393d582869b91ea8be.zip
FreeBSD-src-b5e0a197bf2d3e00e36d9b393d582869b91ea8be.tar.gz
A better fix for both kernel and LKM compilation.
Diffstat (limited to 'sys/net/if_ppp.h')
-rw-r--r--sys/net/if_ppp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_ppp.h b/sys/net/if_ppp.h
index b24af72..d3f01a7 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: if_ppp.h,v 1.9 1997/08/19 14:10:45 peter Exp $
+ * $Id: if_ppp.h,v 1.10 1997/10/17 21:30:30 roberto Exp $
*/
#ifndef _IF_PPP_H_
@@ -116,7 +116,7 @@ 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 NBPFILTER
+#if NBPFILTER > 0
#define PPPIOCSPASS _IOW('t', 71, struct bpf_program) /* set pass filter */
#define PPPIOCSACTIVE _IOW('t', 70, struct bpf_program) /* set active filt */
#endif /* NBPFILTER */
OpenPOWER on IntegriCloud