Fix: Apply the attached patch
Patch attached with submission follows:
Set to feedback to notify maintainer.
Yes, it's send by me. Please commit it.
I'll take it.
crees 2011-11-12 17:51:07 UTC
FreeBSD ports repository
Fix on FreeBSD 10+
Submitted by: Boris Kovalenko <firstname.lastname@example.org> (maintainer)
Feature safe: yes
Revision Changes Path
1.115 +1 -1 ports/net/quagga/Makefile
1.1 +11 -0 ports/net/quagga/files/patch-ospfd__ospf_packet.c (new)
email@example.com mailing list
To unsubscribe, send any mail to "firstname.lastname@example.org"
Committed. Thanks! Please also pass this fix upstream.
This patch made us many troubles on one of our FreeBSD 7.1-RELEASE-p11 border
router. After upgrading Quagga with portupgrade to 0.99.20_2, OSPF was not
working anymore and we got in troubles in the middle of the night!
The error logged in vtysh.log was "OSPF: ospf_recv_packet read length
mismatch: ip_len is 100, but recvmsg returned 120".
Removing this patch and recompiling fixed the issue, OSPF is working again.
Maybe this patch is buggy?
Nine Internet Solutions AG, Albisriederstr. 243c, CH-8047 Zuerich
Support +41 44 637 40 40 | Tel +41 44 637 40 00 | Direct +41 44 637 40 13
Hm, looking at the patch, are we sure it should be __FreeBSD_version >=,
and not <=? Boris?
You are right, the fix committed by PR 162559.
Please csup and try again. Fixed in ports/162559