mirror of
https://git.freebsd.org/ports.git
synced 2025-06-27 23:50:30 -04:00
14 lines
516 B
Text
14 lines
516 B
Text
--- 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;
|
|
|