diff options
author | Jan Wagner <waja@cyconet.org> | 2014-01-30 09:59:36 +0100 |
---|---|---|
committer | Jan Wagner <waja@cyconet.org> | 2014-01-30 11:28:09 +0100 |
commit | 2aa6ce284451198616ef5a4f54d009c39d01a983 (patch) | |
tree | b88585a4075e68f9480cfad84b82c271e97dae1b /plugins/check_dig.c | |
parent | df53473d03783ef853465c80162758bb6ee403c7 (diff) | |
download | monitoring-plugins-2aa6ce284451198616ef5a4f54d009c39d01a983.tar.gz |
check_dig: timeout_interval is a global variable
which is already set to 10 seconds
Diffstat (limited to 'plugins/check_dig.c')
-rw-r--r-- | plugins/check_dig.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/check_dig.c b/plugins/check_dig.c index 5638017c..594aa46a 100644 --- a/plugins/check_dig.c +++ b/plugins/check_dig.c | |||
@@ -49,7 +49,6 @@ void print_usage (void); | |||
49 | #define UNDEFINED 0 | 49 | #define UNDEFINED 0 |
50 | #define DEFAULT_PORT 53 | 50 | #define DEFAULT_PORT 53 |
51 | #define DEFAULT_TRIES 3 | 51 | #define DEFAULT_TRIES 3 |
52 | #define DEFAULT_TIMEOUT 10 | ||
53 | 52 | ||
54 | char *query_address = NULL; | 53 | char *query_address = NULL; |
55 | char *record_type = "A"; | 54 | char *record_type = "A"; |
@@ -75,7 +74,6 @@ main (int argc, char **argv) | |||
75 | long microsec; | 74 | long microsec; |
76 | double elapsed_time; | 75 | double elapsed_time; |
77 | int result = STATE_UNKNOWN; | 76 | int result = STATE_UNKNOWN; |
78 | timeout_interval = DEFAULT_TIMEOUT; | ||
79 | 77 | ||
80 | setlocale (LC_ALL, ""); | 78 | setlocale (LC_ALL, ""); |
81 | bindtextdomain (PACKAGE, LOCALEDIR); | 79 | bindtextdomain (PACKAGE, LOCALEDIR); |