Patch applied. Many thanks. There's another instance of the same problem the src/dhcp.c which I've fixed as a separate commit.
Cheers, Simon. On 22/03/2019 10:36, Jeremie Courreges-Anglas wrote: > > Hi, > > an unpatched dnsmasq daemon fails on OpenBSD since 2016, since kernel > support was added for IP_SENDSRCADDR. The problem has been worked > around and then fixed in our ports tree for some time now. Please find > attached a patch to address this issue. > > IIUC the existing code was inspired from an example in the cmsg(3) Linux > manpage. Said manpage was fixed since, this bugreport contains a nice > discussion: > > https://bugzilla.kernel.org/show_bug.cgi?id=15952 > > The patch was only tested on OpenBSD but should hopefully be correct on > all affected systems. Please let me know if you need additional > information. > > > > _______________________________________________ > Dnsmasq-discuss mailing list > Dnsmasq-discuss@lists.thekelleys.org.uk > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss > _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss