summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 934bf71)
raw | patch | inline | side by side (parent: 934bf71)
author | Holger Weiss <hweiss@users.sourceforge.net> | |
Tue, 23 Jan 2007 18:34:45 +0000 (18:34 +0000) | ||
committer | Holger Weiss <hweiss@users.sourceforge.net> | |
Tue, 23 Jan 2007 18:34:45 +0000 (18:34 +0000) |
compatibility) (Ville Mattila - 1642780)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1579 f882894a-f735-0410-b71e-b25c423dba1c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1579 f882894a-f735-0410-b71e-b25c423dba1c
THANKS.in | patch | blob | history | |
plugins/check_ssh.c | patch | blob | history |
diff --git a/THANKS.in b/THANKS.in
index 584fee08a9521f5d24b7a90f8aaffca28ddcacb1..b18c66bb5fce833f81900b8a06d5537d77512e7c 100644 (file)
--- a/THANKS.in
+++ b/THANKS.in
Jason Hoos
Chris Grim
Nobuhiro Ban
+Ville Mattila
diff --git a/plugins/check_ssh.c b/plugins/check_ssh.c
index ce4c08482f1b47cab0452ce686a8e6f21e6a0353..1c24e5889c460525910d55baa793ce6d08c86f4e 100644 (file)
--- a/plugins/check_ssh.c
+++ b/plugins/check_ssh.c
static struct option longopts[] = {
{"help", no_argument, 0, 'h'},
{"version", no_argument, 0, 'V'},
- {"host", required_argument, 0, 'H'},
+ {"host", required_argument, 0, 'H'}, /* backward compatibility */
+ {"hostname", required_argument, 0, 'H'},
{"port", required_argument, 0, 'p'},
{"use-ipv4", no_argument, 0, '4'},
{"use-ipv6", no_argument, 0, '6'},