summaryrefslogtreecommitdiff
path: root/net/openbgpd/files/patch-bgpd_rde_attr.c
diff options
context:
space:
mode:
authorStefan Walter <stefan@FreeBSD.org>2008-12-17 15:58:32 +0000
committerStefan Walter <stefan@FreeBSD.org>2008-12-17 15:58:32 +0000
commit073943d1f3f2c04207ec379472ca1706d3dda456 (patch)
treedc44970c08bfca82825739873773caf8ca19acea /net/openbgpd/files/patch-bgpd_rde_attr.c
parent- Update to 2.6.12 (diff)
- Update to 4.2.
- Provide LINK_STATE_IS_UP macros that is missing in FreeBSD. - Disable CARP demotion: FreeBSD has no support for it. - Disable check for the routing table number: FreeBSD has single routing table now. - Disable route labeling: FreeBSD has no support for it. PR: 121831 Submitted by: Matthieu Guegan <matthieu@virtua.ch> Approved by: maintainer timeout (9 months)
Diffstat (limited to 'net/openbgpd/files/patch-bgpd_rde_attr.c')
-rw-r--r--net/openbgpd/files/patch-bgpd_rde_attr.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/openbgpd/files/patch-bgpd_rde_attr.c b/net/openbgpd/files/patch-bgpd_rde_attr.c
new file mode 100644
index 000000000000..cc1b62d1a386
--- /dev/null
+++ b/net/openbgpd/files/patch-bgpd_rde_attr.c
@@ -0,0 +1,20 @@
+--- bgpd/rde_attr.c 2007-05-22 16:03:31.000000000 +0200
++++ bgpd/rde_attr.c 2008-03-18 15:30:31.000000000 +0100
+@@ -17,7 +17,6 @@
+ */
+
+ #include <sys/types.h>
+-#include <sys/hash.h>
+ #include <sys/queue.h>
+
+ #include <netinet/in.h>
+@@ -28,6 +27,9 @@
+
+ #include "bgpd.h"
+ #include "rde.h"
++#include "hash.h"
++
++#include <limits.h>
+
+ int
+ attr_write(void *p, u_int16_t p_len, u_int8_t flags, u_int8_t type,