aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/monitoring-plugins/files/patch-plugins-scripts_check__ircd.pl
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/monitoring-plugins/files/patch-plugins-scripts_check__ircd.pl')
-rw-r--r--net-mgmt/monitoring-plugins/files/patch-plugins-scripts_check__ircd.pl15
1 files changed, 3 insertions, 12 deletions
diff --git a/net-mgmt/monitoring-plugins/files/patch-plugins-scripts_check__ircd.pl b/net-mgmt/monitoring-plugins/files/patch-plugins-scripts_check__ircd.pl
index 0cd1a4951128..04fc37d4920a 100644
--- a/net-mgmt/monitoring-plugins/files/patch-plugins-scripts_check__ircd.pl
+++ b/net-mgmt/monitoring-plugins/files/patch-plugins-scripts_check__ircd.pl
@@ -1,6 +1,6 @@
---- plugins-scripts/check_ircd.pl.orig 2016-11-29 08:45:08 UTC
-+++ plugins-scripts/check_ircd.pl
-@@ -65,6 +65,7 @@ sub bindRemote ($$);
+--- plugins-scripts/check_ircd.pl.orig 2025-11-08 16:25:06.105511000 +0100
++++ plugins-scripts/check_ircd.pl 2025-11-08 16:27:22.763542000 +0100
+@@ -65,6 +65,7 @@ $ENV{'ENV'}='';
$ENV{'PATH'}='@TRUSTED_PATH@';
$ENV{'BASH_ENV'}='';
$ENV{'ENV'}='';
@@ -8,12 +8,3 @@
# -----------------------------------------------------------------[ Global ]--
-@@ -152,7 +153,7 @@ sub bindRemote ($$)
- 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";