aboutsummaryrefslogtreecommitdiffstats
path: root/net/quagga
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2007-09-06 22:53:41 +0800
committersem <sem@FreeBSD.org>2007-09-06 22:53:41 +0800
commitf8337135d9acbdae99ad6de10683737d4be4a56d (patch)
tree25a81e29c760a241279909824dd1aa5f28847a9a /net/quagga
parent61543af9cfaedf21beb95fdcc2670a41b10e05e3 (diff)
downloadfreebsd-ports-gnome-f8337135d9acbdae99ad6de10683737d4be4a56d.tar.gz
freebsd-ports-gnome-f8337135d9acbdae99ad6de10683737d4be4a56d.tar.zst
freebsd-ports-gnome-f8337135d9acbdae99ad6de10683737d4be4a56d.zip
- Add one more patch from quagga CVS. It fixes ignoring kernel routes in some cases.
Approved by: maintainer
Diffstat (limited to 'net/quagga')
-rw-r--r--net/quagga/Makefile2
-rw-r--r--net/quagga/files/patch-cvs-8-rtread25
2 files changed, 26 insertions, 1 deletions
diff --git a/net/quagga/Makefile b/net/quagga/Makefile
index 92810dba5922..597a3f9e5404 100644
--- a/net/quagga/Makefile
+++ b/net/quagga/Makefile
@@ -7,7 +7,7 @@
PORTNAME= quagga
PORTVERSION= 0.99.8
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net ipv6
MASTER_SITES= http://quagga.net/download/ \
http://www.ru.quagga.net/download/ \
diff --git a/net/quagga/files/patch-cvs-8-rtread b/net/quagga/files/patch-cvs-8-rtread
new file mode 100644
index 000000000000..a636b4dcd305
--- /dev/null
+++ b/net/quagga/files/patch-cvs-8-rtread
@@ -0,0 +1,25 @@
+diff -Nur zebra/ChangeLog quagga/zebra/ChangeLog
+--- zebra/ChangeLog 2007-08-21 20:15:32.000000000 +0400
++++ zebra/ChangeLog 2007-09-06 18:23:30.000000000 +0400
+@@ -1,3 +1,9 @@
++2007-09-06 Denis Ovsienko
++
++ * rtread_sysctl.c: (route_read) Set RTF_DONE on the routing
++ messages when fetching initial kernel FIB, so rtm_read()
++ doesn't skip them.
++
+ 2007-08-21 Denis Ovsienko
+
+ * ioctl_solaris.c: (if_get_mtu) Don't break things if either
+diff -Nur zebra/rtread_sysctl.c zebra/rtread_sysctl.c
+--- zebra/rtread_sysctl.c 2005-11-24 18:15:17.000000000 +0300
++++ zebra/rtread_sysctl.c 2007-09-06 18:12:14.000000000 +0400
+@@ -68,6 +68,8 @@
+ for (end = buf + bufsiz; buf < end; buf += rtm->rtm_msglen)
+ {
+ rtm = (struct rt_msghdr *) buf;
++ /* We must set RTF_DONE here, so rtm_read() doesn't ignore the message. */
++ SET_FLAG (rtm->rtm_flags, RTF_DONE);
+ rtm_read (rtm);
+ }
+