mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-02-20 00:10:09 -05:00
check_snmp.c: switched DEFAULT_TIMEOUT to DEFAULT_SOCKET_TIMEOUT (provided by utils.h), already used by help description, see issue #1318
This commit is contained in:
parent
f693f2c0bf
commit
6ba26122f4
1 changed files with 1 additions and 2 deletions
|
|
@ -41,7 +41,6 @@ const char *email = "devel@monitoring-plugins.org";
|
|||
#define DEFAULT_PORT "161"
|
||||
#define DEFAULT_MIBLIST "ALL"
|
||||
#define DEFAULT_PROTOCOL "1"
|
||||
#define DEFAULT_TIMEOUT 1
|
||||
#define DEFAULT_RETRIES 5
|
||||
#define DEFAULT_AUTH_PROTOCOL "MD5"
|
||||
#define DEFAULT_PRIV_PROTOCOL "DES"
|
||||
|
|
@ -224,7 +223,7 @@ main (int argc, char **argv)
|
|||
outbuff = strdup ("");
|
||||
delimiter = strdup (" = ");
|
||||
output_delim = strdup (DEFAULT_OUTPUT_DELIMITER);
|
||||
timeout_interval = DEFAULT_TIMEOUT;
|
||||
timeout_interval = DEFAULT_SOCKET_TIMEOUT;
|
||||
retries = DEFAULT_RETRIES;
|
||||
|
||||
np_init( (char *) progname, argc, argv );
|
||||
|
|
|
|||
Loading…
Reference in a new issue