mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-22 22:56:58 -04:00
check_dig: timeout_interval is a global variable
which is already set to 10 seconds
This commit is contained in:
parent
df53473d03
commit
2aa6ce2844
1 changed files with 0 additions and 2 deletions
|
|
@ -49,7 +49,6 @@ void print_usage (void);
|
|||
#define UNDEFINED 0
|
||||
#define DEFAULT_PORT 53
|
||||
#define DEFAULT_TRIES 3
|
||||
#define DEFAULT_TIMEOUT 10
|
||||
|
||||
char *query_address = NULL;
|
||||
char *record_type = "A";
|
||||
|
|
@ -75,7 +74,6 @@ main (int argc, char **argv)
|
|||
long microsec;
|
||||
double elapsed_time;
|
||||
int result = STATE_UNKNOWN;
|
||||
timeout_interval = DEFAULT_TIMEOUT;
|
||||
|
||||
setlocale (LC_ALL, "");
|
||||
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||
|
|
|
|||
Loading…
Reference in a new issue