[Nagiosplug-devel] AF-Independent code for plugins

Jeremy T. Bouse Jeremy.Bouse at UnderGrid.net
Mon Dec 9 11:50:02 CET 2002


	As I had mentioned before I've been working on porting the
plugins to support IPv6 as well as IPv4... In doing so I'm also making
sure that the code is AF-independent... One advantage I've also seen of
this is the use of the my_inet_aton() function in plugins/netutils.c
which made a mention that Solaris does not contain the inet_aton()
function which I can verify myself as I have access to 4 Solaris 8 Ultra
Sparcs to build on... In my AF-indep porting I'm moving towards using
getnameinfo() and getaddrinfo() which are both in Solaris as well as all
*BSD and Linux implimentations I've come across so far in doing
compatibility compiles... As I'm not actually working off a branch of
the CVS repository on SF.net I've got this code and the code I'm working
towards IPv6 capability mixed together and would be a bit to remove the
two to make a diff patch...

	However my question is would this patch be of value to others
besides myself? If so I will get it submitted through the SF.net project
site under the Patch section as soon as I've got it cleaned up and have
tested it on a couple various machines (AMD K7 Debian GNU/Linux, Ultra
Sparc Solaris 9, and either PIII FreeBSD 4.4 or OpenBSD 3.2-STABLE)...
My code is being worked on from CVS version which I keep updated
regularly while I work...

	Jeremy




More information about the Devel mailing list