[nagiosplug] Fix: check_ldap now correctly handles the long ...
"Matthias Eble" <[email protected]> Tue, 10 Apr 2012 20:51:41 +0000
| Newsgroups | gmane.network.nagios.plugins.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module: nagiosplug Branch: master Commit: 9978b3ca744b076d8ea24441819826938211dd17 Author: Matthias Eble <[email protected]> Date: Sat Aug 13 03:44:27 2011 +0200 URL: http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=commit;h=9978b3c Fix: check_ldap now correctly handles the long option --hostname for -H The undocumented --host has been changed to --hostname which is actually mentioned in --help. Thanks to lgarrett (#3191388) --- plugins/check_ldap.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/plugins/check_ldap.c b/plugins/check_ldap.c index 726ffa6..f83f139 100644 --- a/plugins/check_ldap.c +++ b/plugins/check_ldap.c @@ -247,7 +247,7 @@ process_arguments (int argc, char **argv) {"help", no_argument, 0, 'h'}, {"version", no_argument, 0, 'V'}, {"timeout", required_argument, 0, 't'}, - {"host", required_argument, 0, 'H'}, + {"hostname", required_argument, 0, 'H'}, {"base", required_argument, 0, 'b'}, {"attr", required_argument, 0, 'a'}, {"bind", required_argument, 0, 'D'}, ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev