[liboping-changes] octo's ping library: Changes to 'master'

Florian Forster octo at verplant.org
Tue Jan 31 16:05:04 CET 2012


 src/liboping.c |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

New commits:
commit 3165470b21eef51bf214f474d4b167c2151276a9
Author: Clayton O'Neill <clayton at oneill.net>
Date:   Sun Oct 30 19:36:46 2011 -0400

    Mac OX S 10.7 compile fixes.
    
    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.
    
    Signed-off-by: Florian Forster <octo at verplant.org>




More information about the liboping-changes mailing list