>
> BTW recompiling quagga-0.99.19p2 from the 5.1 ports tree make a
> functionnal quagga. Reading the diff from the two versions there is some
> rewrite in the multicast code (simplification they say). There is
> clearly something wrong with these code and the patch in current port
> tree is not sufficient. I will try to look further if I can fix the new
> version, but the code is so ugly :/ and it is not clear if what is the
> correct way to use multicast on OpenBSD
> (HAVE_STRUCT_IP_MREQN_IMR_IFINDEX ? HAVE_BSD_STRUCT_IP_MREQ_HACK ?)
>
>
I wrote a first 'naive' patch wich work, at least for me. (attached)
I was difficult to make a clean patch because quagga broke/change their
multicast api in lib/sockopt.c, removing (struct iface *iface) parameter
from their functions, and using (struct ip_mreq mreq) seems not working.
So I just reuse the old code and paste it directly in opsf_network.c.
Hope that more experimented people could make a better patch and send it
upstream.
Regards,
--
Raphael Mazelier