diff options
Diffstat (limited to 'net/nagios-plugins/files/patch-check_ssh.c')
-rw-r--r-- | net/nagios-plugins/files/patch-check_ssh.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/net/nagios-plugins/files/patch-check_ssh.c b/net/nagios-plugins/files/patch-check_ssh.c index d80b91a2abb9..8638a4571fe9 100644 --- a/net/nagios-plugins/files/patch-check_ssh.c +++ b/net/nagios-plugins/files/patch-check_ssh.c @@ -1,15 +1,15 @@ ---- plugins/check_ssh.c.orig Fri Jun 21 12:17:43 2002 -+++ plugins/check_ssh.c Fri Jun 21 12:23:16 2002 -@@ -246,7 +246,7 @@ - printf("%s\n", output); +--- plugins/check_ssh.c.orig Thu Feb 28 07:42:59 2002 ++++ plugins/check_ssh.c Sun Jul 14 09:59:41 2002 +@@ -250,7 +250,7 @@ + printf ("%s\n", output); ssh_proto = output + 4; - ssh_server = ssh_proto + strspn(ssh_proto, "0123456789-. "); -- ssh_proto[strspn(ssh_proto, "0123456789-. ")] = 0; -+ ssh_proto[strspn(ssh_proto, "0123456789. ")] = 0; + ssh_server = ssh_proto + strspn (ssh_proto, "0123456789-. "); +- ssh_proto[strspn (ssh_proto, "0123456789-. ")] = 0; ++ ssh_proto[strspn (ssh_proto, "0123456789. ")] = 0; printf ("SSH ok - protocol version %s - server version %s\n", - ssh_proto, ssh_server); -@@ -272,7 +272,7 @@ + ssh_proto, ssh_server); +@@ -277,7 +277,7 @@ { printf ("Usage:\n" |