[liboping] MacOS 10.7 Patch

Florian Forster ff at octo.it
Wed Feb 1 11:00:10 CET 2012

Hi Clayton,

sorry for the late reply, your mail got lost in my inbox :/

Thank you very much for your patch! I've applied it and built version
1.6.2, which contains a couple other small fixes as well.

Best regards,

On Sun, Oct 30, 2011 at 07:36:46PM -0400, Clayton O'Neill wrote:
> I've attached a patch that's required to be able to compile liboping on
> MacOS 10.7 (Lion).  The issue is that the IPv6 API's are changing from RFC
> 2292 to 3542, and Apple's headers require you to state which API you want
> to use by defining a constant.  I've changed it to use either based on the
> presence of constants, but to prefer 3542 on MacOS.
> One problem I see with this is that if you have both multicast and unicast
> TTL's set, then this won't report both of them, but I'm not sure if that's
> even valid and it would require more significant rework.  Also, I noticed
> you have fixed the IP_RECVTOS issue in head.  That patch is also required
> to be able to compile on Solaris and MacOS.
Florian octo Forster
Hacker in training
GnuPG: 0x0C705A15
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.verplant.org/pipermail/liboping/attachments/20120201/37ea5d0e/attachment.pgp>

More information about the liboping mailing list