blob: f9c190c841fa64d495bddcb6fa31a5e257a2d91c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
$NetBSD: patch-ac,v 1.3 2008/06/15 14:09:03 peter Exp $
--- config.h.old 2008-06-15 01:19:59.000000000 +0200
+++ config.h 2008-06-15 12:16:51.000000000 +0200
@@ -42,7 +42,9 @@
#if OS_LEVEL > 32
#define HAVE_ADDR_MASK
#define HAVE_ADDR_TYPE
+#ifndef __NetBSD__
#define HAVE_ALTQ
+#endif /* !__NetBSD__ */
#define HAVE_RULE_TOS
#define HAVE_OP_RRG
#endif
@@ -64,6 +66,10 @@
#if OS_LEVEL > 37
#define HAVE_INOUT_COUNT_RULES
+#ifdef __NetBSD__
+/* NetBSD has pf/ALTQ since 4.0, which shipped with pf 3.7 */
+#define HAVE_ALTQ
+#endif /* __NetBSD__ */
#endif
#if OS_LEVEL > 38
|