[prev in list] [next in list] [prev in thread] [next in thread]
List: quagga-users
Subject: [quagga-users 9024] Re: IPv6 + freebsd + quagga 0.99.9
From: Denis Ovsienko <pilot () etcnet ! org>
Date: 2007-10-24 10:01:53
Message-ID: 20071024140153.27e5da4d.pilot () etcnet ! org
[Download RAW message or body]
> I'd like to start using quagga on FreeBSD for IPv6 routing, but Quagga
> keeps deleting (and then readding and redeleting...) every IPv6 route
> it adds into kernel's routing table. (route -n monitor shows stream of
> RTM_ADD followed by RTM_DELETE for the route that was added through
> quagga.)
Hello again.
Could you check if the attached patch fixes the problem? Thanks.
--
DO4-UANIC
["quagga-0.99.9-ipv6ignore.patch" (application/octet-stream)]
Index: zebra/kernel_socket.c
===================================================================
RCS file: /var/cvsroot/quagga/zebra/kernel_socket.c,v
retrieving revision 1.49
diff -p -u -r1.49 kernel_socket.c
--- zebra/kernel_socket.c 14 Sep 2007 14:56:28 -0000 1.49
+++ zebra/kernel_socket.c 24 Oct 2007 09:44:17 -0000
@@ -884,6 +884,11 @@ rtm_read (struct rt_msghdr *rtm)
#ifdef HAVE_IPV6
if (dest.sa.sa_family == AF_INET6)
{
+ /* One day we might have a debug section here like one in the
+ * IPv4 case above. Just ignore own messages at the moment.
+ */
+ if (rtm->rtm_type != RTM_GET && rtm->rtm_pid == pid)
+ return;
struct prefix_ipv6 p;
unsigned int ifindex = 0;
_______________________________________________
Quagga-users mailing list
Quagga-users@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic