aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2007-09-06 14:53:41 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2007-09-06 14:53:41 +0000
commitc4751176f0b304fe06b70bce03e21e726cd26dbe (patch)
tree1d73ec00bb98395e5c95ccb78c1ac03f9992d468 /net
parent1a03bc8ef23de132ae3fcc3d177542274c27dad2 (diff)
downloadports-c4751176f0b304fe06b70bce03e21e726cd26dbe.tar.gz
ports-c4751176f0b304fe06b70bce03e21e726cd26dbe.zip
Notes
Diffstat (limited to 'net')
-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);
+ }
+