mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- Add one more patch from quagga CVS. It fixes ignoring kernel routes in some cases.
Approved by: maintainer
This commit is contained in:
parent
1a03bc8ef2
commit
c4751176f0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=198921
@ -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/ \
|
||||
|
25
net/quagga/files/patch-cvs-8-rtread
Normal file
25
net/quagga/files/patch-cvs-8-rtread
Normal file
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user