diff options
Diffstat (limited to 'plugins-root/check_icmp.c')
-rw-r--r-- | plugins-root/check_icmp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c index 306113b..c4f6739 100644 --- a/plugins-root/check_icmp.c +++ b/plugins-root/check_icmp.c | |||
@@ -42,8 +42,9 @@ | |||
42 | * | 42 | * |
43 | *****************************************************************************/ | 43 | *****************************************************************************/ |
44 | 44 | ||
45 | /* progname may be check_ldaps */ | 45 | /* progname may change */ |
46 | //char *progname = "check_ldap"; | 46 | /* char *progname = "check_icmp"; */ |
47 | char *progname; | ||
47 | const char *revision = "$Revision$"; | 48 | const char *revision = "$Revision$"; |
48 | const char *copyright = "2005-2006"; | 49 | const char *copyright = "2005-2006"; |
49 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 50 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; |
@@ -195,7 +196,6 @@ extern char *optarg; | |||
195 | extern char **environ; | 196 | extern char **environ; |
196 | 197 | ||
197 | /** global variables **/ | 198 | /** global variables **/ |
198 | static char *progname; | ||
199 | static struct rta_host **table, *cursor, *list; | 199 | static struct rta_host **table, *cursor, *list; |
200 | static threshold crit = {80, 500000}, warn = {40, 200000}; | 200 | static threshold crit = {80, 500000}, warn = {40, 200000}; |
201 | static int mode, protocols, sockets, debug = 0, timeout = 10; | 201 | static int mode, protocols, sockets, debug = 0, timeout = 10; |