Re: [Nagios-users] Standard Nagios Plugins 1.4.9 and IPv6 problem?
Holger Weiss wrote:
> To be nitpicking, it doesn't "send out IPv6 traffic", it merely asks
..
> following patch should work around your problem for most C plugins: > > ----------------------------------------------------------- > --- netutils.c.orig 2007-01-20 07:07:48.000000000 +0100 > +++ netutils.c 2007-09-21 16:28:13.117372070 +0200 > @@ -39,7 +39,7 @@ > unsigned int socket_timeout = DEFAULT_SOCKET_TIMEOUT; > int econn_refuse_state = STATE_CRITICAL; > int was_refused = FALSE; > -int address_family = AF_UNSPEC; > +int address_family = PF_INET; >
Since we're nitpicking anyways, this should be AF_INET, although
any system where AF_INET != PF_INET is quite clearly insane ;-)
--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
Received on Fri Sep 21 11:07:12 2007
This archive was generated by hypermail 2.1.8
: Mon Oct 08 2007 - 18:00:52 EDT
|