tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: IP_PKTINFO in NetBSD-current



Martin Husemann <martin%duskware.de@localhost> writes:

> I ran into it with net/avahi and needed the attached patch.

That seems fine.   If Linux added a different API after IP_PKTINFO
existed in BSD, then it probably should be

#ifndef Linux
#else
#endif

but that's not important :-)

> Another option, of course, is to change their autoconf test for the
> API to explicitly use the differently named field and disable
> IP_PKTINFO on != linux, or the right fix: autoconf test for both
> variants of the api and use the right one.

Sure, that's better, but I don't think we should stop having lesser
fixes until someone does that.


Home | Main Index | Thread Index | Old Index