[quagga-users 12570] ospfd daemon (quagga-0.99.20_2) not work on freebsd 8.2#0 x64

Дмитрий Бурьянов buryanov at ukr.net
Fri Nov 18 07:54:30 GMT 2011


ospfd daemon (quagga-0.99.20_2) not work on freebsd 8.2#0 x64

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 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)

Дмитрий Бурьянов
buryanov at ukr.net
icq: 118639660
skype: buryanov
8-050-343-74-70


More information about the Quagga-users mailing list