diff options
author | sem <sem@FreeBSD.org> | 2007-09-06 22:53:41 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2007-09-06 22:53:41 +0800 |
commit | f8337135d9acbdae99ad6de10683737d4be4a56d (patch) | |
tree | 25a81e29c760a241279909824dd1aa5f28847a9a /net | |
parent | 61543af9cfaedf21beb95fdcc2670a41b10e05e3 (diff) | |
download | freebsd-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')
-rw-r--r-- | net/quagga/Makefile | 2 | ||||
-rw-r--r-- | net/quagga/files/patch-cvs-8-rtread | 25 |
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); + } + |