diff options
Diffstat (limited to 'net-mgmt/nagios-plugins/files/patch-plugins-scripts__check_ircd.pl')
-rw-r--r-- | net-mgmt/nagios-plugins/files/patch-plugins-scripts__check_ircd.pl | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/net-mgmt/nagios-plugins/files/patch-plugins-scripts__check_ircd.pl b/net-mgmt/nagios-plugins/files/patch-plugins-scripts__check_ircd.pl index fcddc805ddd0..2efbf4867f9c 100644 --- a/net-mgmt/nagios-plugins/files/patch-plugins-scripts__check_ircd.pl +++ b/net-mgmt/nagios-plugins/files/patch-plugins-scripts__check_ircd.pl @@ -1,6 +1,6 @@ ---- plugins-scripts/check_ircd.pl.orig Tue May 7 15:05:49 2002 -+++ plugins-scripts/check_ircd.pl Fri May 12 23:40:44 2006 -@@ -67,6 +67,7 @@ +--- plugins-scripts/check_ircd.pl.orig 2012-06-27 12:32:47.000000000 -0500 ++++ plugins-scripts/check_ircd.pl 2012-11-14 20:58:01.479745211 -0600 +@@ -66,6 +66,7 @@ $ENV{PATH} = ""; $ENV{ENV} = ""; $ENV{BASH_ENV} = ""; @@ -8,3 +8,12 @@ # -----------------------------------------------------------------[ Global ]-- +@@ -153,7 +154,7 @@ + print "IRCD UNKNOWN: Could not start socket ($!)\n"; + exit $ERRORS{"UNKNOWN"}; + } +- $sockaddr = 'S n a4 x8'; ++ $sockaddr = 'x C n a4 x8'; + $that = pack($sockaddr, AF_INET, $in_remoteport, $thataddr); + if (!connect(ClientSocket, $that)) { + print "IRCD UNKNOWN: Could not connect socket ($!)\n"; |