diff options
Diffstat (limited to 'plugins/check_ssh.c')
-rw-r--r-- | plugins/check_ssh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_ssh.c b/plugins/check_ssh.c index 518950ec..ab4af352 100644 --- a/plugins/check_ssh.c +++ b/plugins/check_ssh.c | |||
@@ -295,7 +295,7 @@ int ssh_connect(mp_check *overall, char *haddr, int hport, char *desired_remote_ | |||
295 | } | 295 | } |
296 | 296 | ||
297 | connection_sc = mp_set_subcheck_state(connection_sc, STATE_OK); | 297 | connection_sc = mp_set_subcheck_state(connection_sc, STATE_OK); |
298 | xasprintf(&connection_sc.output, "%s", "Initial connection succeded"); | 298 | xasprintf(&connection_sc.output, "%s", "Initial connection succeeded"); |
299 | mp_add_subcheck_to_check(overall, connection_sc); | 299 | mp_add_subcheck_to_check(overall, connection_sc); |
300 | 300 | ||
301 | /* | 301 | /* |
@@ -384,7 +384,7 @@ int ssh_connect(mp_check *overall, char *haddr, int hport, char *desired_remote_ | |||
384 | desired_remote_protocol); | 384 | desired_remote_protocol); |
385 | } else { | 385 | } else { |
386 | protocol_version_sc = mp_set_subcheck_state(protocol_version_sc, STATE_OK); | 386 | protocol_version_sc = mp_set_subcheck_state(protocol_version_sc, STATE_OK); |
387 | xasprintf(&protocol_version_sc.output, "SSH server verison: %s (protocol version: %s)", ssh_server, ssh_proto); | 387 | xasprintf(&protocol_version_sc.output, "SSH server version: %s (protocol version: %s)", ssh_server, ssh_proto); |
388 | } | 388 | } |
389 | 389 | ||
390 | mp_add_subcheck_to_check(overall, protocol_version_sc); | 390 | mp_add_subcheck_to_check(overall, protocol_version_sc); |