This bug was reported around the release of FreeBSD 7, but does not seem to have made any progress.
http://bugzilla.quagga.net/show_bug.cgi?id=420
Is this because the sockopt.c.diff patch is correct, which isn't entirely clear from the following comments, or is there some other solution to this problem? Thanks!