[Nagiosplug-devel] [ nagiosplug-Patches-651617 ] AF-Independant / IPv6 patch

SourceForge.net noreply at sourceforge.net
Sun Mar 16 15:40:19 CET 2003


Patches item #651617, was opened at 2002-12-10 12:22
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=651617&group_id=29880

>Category: Enhancement
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Jeremy T. Bouse (undrgrid)
Assigned to: Jeremy T. Bouse (undrgrid)
Summary: AF-Independant / IPv6 patch

Initial Comment:
This patch is taken against the CVS today and contains
updates to the following files:

configure.in
plugins/check_dig.c
plugins/check_dns.c
plugins/check_ldap.c
plugins/check_ping.c
plugins/netutils.c
plugins/netutils.h.in
plugins/utils.c
plugins/utils.h.in

These updates include checking for the proper ping
command for IPv6 hosts (still needs some work to be
portable but works on Linux), removal of AF-dependant
function calls such as gethostbyname, inet_pton,
inet_aton (actually my_inet_aton) in favor of using
AF-independant getaddrinfo and getnameinfo routines
which are portable against all operating systems
including Solaris 9.

is_dotted_quad() in utils was removed and replaced with
is_ipv4_addr() and is_ipv6_addr(). is_hostname() was 
completely re-written as was my_connect() in netutils.c
along with removal of my_inet_aton().

Any questions regarding this patch can be re-directed
to me at Jeremy.Bouse at UnderGrid.net

----------------------------------------------------------------------

>Comment By: Jeremy T. Bouse (undrgrid)
Date: 2003-03-16 15:52

Message:
Logged In: YES 
user_id=10485

Going ahead and closing this as it's been applied to the CVS
code base already...

----------------------------------------------------------------------

Comment By: Jeremy T. Bouse (undrgrid)
Date: 2002-12-10 18:45

Message:
Logged In: YES 
user_id=10485

Updated patch file

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=651617&group_id=29880




More information about the Devel mailing list