Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Nov 2011 10:07:26 +0200
From:      =?WINDOWS-1251?B?xOzo8vDo6SDB8/D8/+3u4g==?= <buryanov@ukr.net>
To:        freebsd-ports@freebsd.org
Subject:   ospfd daemon (quagga-0.99.20_2) not work on freebsd 8.2#0 x64
Message-ID:  <60619.1321603646.1220542315353538560@ffe10.ukr.net>

next in thread | raw e-mail | index | archive | help
zebra.log
2011/11/18 09:26:08 OSPF: ospf_recv_packet read length mismatch: ip_len is 64, but recvmsg returned 84
2011/11/18 09:26:15 OSPF: LSA[Refresh]:ospf_lsa_refresh_walker(): start
2011/11/18 09:26:15 OSPF: LSA[Refresh]: ospf_lsa_refresh_walker(): next index 192
2011/11/18 09:26:15 OSPF: LSA[Refresh]: ospf_lsa_refresh_walker(): refresh index 191
2011/11/18 09:26:15 OSPF: LSA[Refresh]: ospf_lsa_refresh_walker(): end
2011/11/18 09:26:15 OSPF: ISM[vlan464:192.168.224.131]: Timer (Hello timer expire)

on /usr/ports/net/quagga/files/patch-ospfd__ospf_packet.c
--- ospfd/ospf_packet.c.orig    2011-09-29 18:59:32.000000000 +0600
+++ ospfd/ospf_packet.c 2011-11-12 12:02:58.000000000 +0600
@@ -2116,7 +2116,7 @@

   ip_len = iph->ip_len;

-#if !defined(GNU_LINUX) && (OpenBSD < 200311)
+#if !defined(GNU_LINUX) && (OpenBSD < 200311) && (__FreeBSD_version >= 1000000)
   /*
    * Kernel network code touches incoming IP header parameters,
    * before protocol specific processing.

can change 
+#if !defined(GNU_LINUX) && (OpenBSD < 200311) && (__FreeBSD_version >= 1000000)
to
+#if !defined(GNU_LINUX) && (OpenBSD < 200311) && (__FreeBSD_version < 1000000)

Dmytro Burianov
buryanov@ukr.net
icq: 118639660
skype: buryanov
380-50-343-74-70



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?60619.1321603646.1220542315353538560>