summaryrefslogtreecommitdiff
path: root/net-mgmt/nagios-plugins/files/patch-plugins_check__ssh.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/nagios-plugins/files/patch-plugins_check__ssh.c')
-rw-r--r--net-mgmt/nagios-plugins/files/patch-plugins_check__ssh.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/net-mgmt/nagios-plugins/files/patch-plugins_check__ssh.c b/net-mgmt/nagios-plugins/files/patch-plugins_check__ssh.c
index 22862e326e3a..18c9e913174a 100644
--- a/net-mgmt/nagios-plugins/files/patch-plugins_check__ssh.c
+++ b/net-mgmt/nagios-plugins/files/patch-plugins_check__ssh.c
@@ -1,5 +1,14 @@
---- plugins/check_ssh.c.orig 2015-07-30 21:40:06 UTC
+--- plugins/check_ssh.c.orig 2020-02-24 15:17:13 UTC
+++ plugins/check_ssh.c
+@@ -63,7 +63,7 @@ main (int argc, char **argv)
+ {
+ int result = STATE_UNKNOWN;
+
+- setlocale (LC_ALL, "");
++ setlocale (LC_ALL, ""); setlocale(LC_NUMERIC, "C");
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
+
@@ -252,6 +252,7 @@ ssh_connect (char *haddr, int hport, cha
printf
(_("SSH CRITICAL - %s (protocol %s) version mismatch, expected '%s'\n"),