aboutsummaryrefslogtreecommitdiff
path: root/net/openbgpd/files/patch-bgpd_rde_update.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/openbgpd/files/patch-bgpd_rde_update.c')
-rw-r--r--net/openbgpd/files/patch-bgpd_rde_update.c27
1 files changed, 17 insertions, 10 deletions
diff --git a/net/openbgpd/files/patch-bgpd_rde_update.c b/net/openbgpd/files/patch-bgpd_rde_update.c
index 81d786c3e868..05514097c69f 100644
--- a/net/openbgpd/files/patch-bgpd_rde_update.c
+++ b/net/openbgpd/files/patch-bgpd_rde_update.c
@@ -1,19 +1,26 @@
---- bgpd/rde_update.c 2008-03-18 15:40:50.000000000 +0100
-+++ bgpd/rde_update.c 2008-03-18 15:32:21.000000000 +0100
-@@ -17,13 +17,15 @@
+Index: bgpd/rde_update.c
+===================================================================
+RCS file: /home/cvs/private/hrs/openbgpd/bgpd/rde_update.c,v
+retrieving revision 1.1.1.1
+retrieving revision 1.2
+diff -u -p -r1.1.1.1 -r1.2
+--- bgpd/rde_update.c 30 Jun 2009 05:46:15 -0000 1.1.1.1
++++ bgpd/rde_update.c 30 Jun 2009 06:40:07 -0000 1.2
+@@ -17,10 +17,17 @@
*/
#include <sys/types.h>
#include <sys/queue.h>
--#include <sys/hash.h>
++#if defined(__FreeBSD__) /* sys/hash.h */
++#include "hash.h"
++#else
+ #include <sys/hash.h>
++#endif /* defined(__FreeBSD__) */
#include <stdlib.h>
#include <string.h>
++#if defined(__FreeBSD__) /* limits.h */
++#include <limits.h>
++#endif /* defined(__FreeBSD__) */
#include "bgpd.h"
#include "rde.h"
-+#include "hash.h"
-+
-+#include <limits.h>
-
- in_addr_t up_get_nexthop(struct rde_peer *, struct rde_aspath *);
- int up_generate_mp_reach(struct rde_peer *, struct update_attr *,