[Dnsmasq-discuss] DNSMasq OpenSolaris
simon at thekelleys.org.uk
Wed Dec 24 11:45:27 GMT 2008
Bastian Machek wrote:
> Hi there,
> I managed to compile and run DNSMasq 2.46 on OpenSolaris.
> I didn't compile in the first place, because there's inconsistency
> between Solaris 10 and OpenSolaris.
> IP_XMIT_IF has been removed from OpenSolaris for cleanup, since they
> didn't see any dependencies on that.
> I replaced IP_XMIT_IF with IP_BOUND_IF in dhcp.c at line 348.
> It compiled and seems to work for me.
> I can't verify that this still compiles/works on Solaris 10, maybe
> someone else can.
That link implies that IP_PKTINFO should work, which would collapse the
code to be the same on Solaris as on Linux. That might be a good fix.
I'll do some experimentation.
More information about the Dnsmasq-discuss