diff options
-rw-r--r-- | sys/net/if_ppp.h | 4 | ||||
-rw-r--r-- | sys/net/if_pppvar.h | 4 |
2 files changed, 4 insertions, 4 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 */ diff --git a/sys/net/if_pppvar.h b/sys/net/if_pppvar.h index e78d129..00c4ee0 100644 --- a/sys/net/if_pppvar.h +++ b/sys/net/if_pppvar.h @@ -39,7 +39,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: if_pppvar.h,v 1.9 1997/09/21 22:00:59 gibbs Exp $ + * $Id: if_pppvar.h,v 1.10 1997/10/17 21:30:30 roberto Exp $ */ /* @@ -76,7 +76,7 @@ struct ppp_softc { void *sc_rc_state; /* receive decompressor state */ time_t sc_last_sent; /* time (secs) last NP pkt sent */ time_t sc_last_recv; /* time (secs) last NP pkt rcvd */ -#ifdef NBPFILTER +#if NBPFILTER > 0 struct bpf_program sc_pass_filt; /* filter for packets to pass */ struct bpf_program sc_active_filt; /* filter for "non-idle" packets */ #endif /* NBPFILTER */ |