Просмотр исходного кода

Merge pull request #789 from SandorGardil/patch-1

Fix typo for "remote-protocol" flag in check_ssh
aaronagios 1 год назад
Родитель
Сommit
feba01b2e2
2 измененных файлов с 4 добавлено и 1 удалено
  1. 3 0
      NEWS
  2. 1 1
      plugins/check_ssh.c

+ 3 - 0
NEWS

@@ -1,4 +1,7 @@
 This file documents the major additions and syntax changes between releases.
+2.5.13 xxxx-xx-xx
+	FIXES
+	check_ssh: Fixed issue where the remote-protocol flag was not functioning correctly
 2.4.12 2024-08-20
 	FIXES
 	check_snmp: Handle snmp IpAddress responses (#759)

+ 1 - 1
plugins/check_ssh.c

@@ -106,7 +106,7 @@ process_arguments (int argc, char **argv)
 		{"timeout", required_argument, 0, 't'},
 		{"verbose", no_argument, 0, 'v'},
 		{"remote-version", required_argument, 0, 'r'},
-		{"remote-protcol", required_argument, 0, 'P'},
+		{"remote-protocol", required_argument, 0, 'P'},
 		{0, 0, 0, 0}
 	};