aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/filter.h
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1999-08-02 15:29:19 +0000
committerBrian Somers <brian@FreeBSD.org>1999-08-02 15:29:19 +0000
commit62e85934b801efa71d3e437d43488a9e8dcb07bd (patch)
treed008f181c97e19913e35468a327d1b980e93de3d /usr.sbin/ppp/filter.h
parentf3a6a64e4a52e75c73f41755b9133f121785f889 (diff)
downloadsrc-62e85934b801efa71d3e437d43488a9e8dcb07bd.tar.gz
src-62e85934b801efa71d3e437d43488a9e8dcb07bd.zip
#ifdef IPPROTO_OSPFIGP before expecting it to be defined.
This unbreaks OpenBSD.
Notes
Notes: svn path=/head/; revision=49374
Diffstat (limited to 'usr.sbin/ppp/filter.h')
-rw-r--r--usr.sbin/ppp/filter.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ppp/filter.h b/usr.sbin/ppp/filter.h
index 0f35ae2775dd..46443c8a67bb 100644
--- a/usr.sbin/ppp/filter.h
+++ b/usr.sbin/ppp/filter.h
@@ -15,7 +15,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: filter.h,v 1.17 1999/07/27 23:43:59 brian Exp $
+ * $Id: filter.h,v 1.18 1999/08/02 11:53:16 brian Exp $
*
* TODO:
*/
@@ -25,7 +25,9 @@
#define P_TCP 1
#define P_UDP 2
#define P_ICMP 3
+#ifdef IPPROTO_OSPFIGP
#define P_OSPF 4
+#endif
#define P_IGMP 5
/* Operations - f_srcop, f_dstop */