summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/filter.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-08-02 15:29:19 +0000
committerbrian <brian@FreeBSD.org>1999-08-02 15:29:19 +0000
commit2f17ec0805b79dfd588bcda09801bbab6acbddf8 (patch)
tree96edb1f56ae628c71a1bf38d83f2813529ab92e2 /usr.sbin/ppp/filter.h
parent744826805a8fa11029b3e80c02543c9c0bd5f348 (diff)
downloadFreeBSD-src-2f17ec0805b79dfd588bcda09801bbab6acbddf8.zip
FreeBSD-src-2f17ec0805b79dfd588bcda09801bbab6acbddf8.tar.gz
#ifdef IPPROTO_OSPFIGP before expecting it to be defined.
This unbreaks OpenBSD.
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 0f35ae2..46443c8 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 */
OpenPOWER on IntegriCloud