[Dnsmasq-discuss] dnsmasq 2.59 and macosx lion
simon at thekelleys.org.uk
Mon Oct 31 11:45:56 GMT 2011
On 30/10/11 12:59, Olaf Flebbe wrote:
> in order to compile dnsmasq 2.59 on macosx lion one needs the Define
> __APPLE_USE_RFC_2292 in order to get the IPV6_PKTINFO definition.
Thanks for that.
implies that there's in alternative: __APPLE_USE_RFC_3542
Please could you check to see if that works instead of 2292. I think the
dnsmasq code should work with either, and it would be could to use the
current API rather than the obsolete one if so.
> --- dnsmasq-2.59/src/dnsmasq.h 2011-10-08 17:05:16.000000000 +0200
> +++ ../dnsmasq-2.59/src/dnsmasq.h 2011-10-30 13:56:20.000000000 +0100
> @@ -39,6 +39,10 @@
> /* get these before config.h for IPv6 stuff... */
> +#ifdef __APPLE__
> +/* Define before netinet/in.h for IPV6_PKTINFO */
> +#define __APPLE_USE_RFC_2292
> /* and this. */
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
More information about the Dnsmasq-discuss