freebsd-ports/net/openbgpd/files/patch-bgpd_util.c
Stefan Walter 073943d1f3 - 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)
2008-12-17 15:58:32 +00:00

10 lines
270 B
C

--- bgpd/util.c 2008-03-18 15:24:06.000000000 +0100
+++ bgpd/util.c 2008-03-18 13:27:29.000000000 +0100
@@ -18,6 +18,7 @@
*/
#include <sys/types.h>
#include <sys/socket.h>
+#include <sys/limits.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>