summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-10-18 09:02:39 +0000
committerpeter <peter@FreeBSD.org>1997-10-18 09:02:39 +0000
commite698cb6764dcf3ccc6bffa6363ffab8a77f57205 (patch)
tree747181723c64d8cbf8936eaa6490b681235f12dd /sys/net
parentfbcce1e3041d8c5bd2f429d8911bc2df3927ef05 (diff)
downloadFreeBSD-src-e698cb6764dcf3ccc6bffa6363ffab8a77f57205.zip
FreeBSD-src-e698cb6764dcf3ccc6bffa6363ffab8a77f57205.tar.gz
Braino on my part.. a #define isn't a reference to a structure, so the
struct only needs to be defined if the macro is used. Pointed out by: bde
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_ppp.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/net/if_ppp.h b/sys/net/if_ppp.h
index b776c53..d49a5df 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.11 1997/10/17 21:50:31 roberto Exp $
+ * $Id: if_ppp.h,v 1.12 1997/10/18 00:49:59 peter Exp $
*/
#ifndef _IF_PPP_H_
@@ -116,10 +116,8 @@ 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
#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 */
/* PPPIOC[GS]MTU are alternatives to SIOC[GS]IFMTU, used under Ultrix */
#define PPPIOCGMTU _IOR('t', 73, int) /* get interface MTU */
OpenPOWER on IntegriCloud