mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-28 09:36:56 -04:00
parent
37cf5e3cd5
commit
e6bcf11653
1 changed files with 2 additions and 2 deletions
|
|
@ -274,8 +274,8 @@ main (int argc, char **argv)
|
|||
snmpcmd = strdup (PATH_TO_SNMPGET);
|
||||
}
|
||||
|
||||
/* 9 arguments to pass before authpriv options + 1 for host and numoids. Add one for terminating NULL */
|
||||
command_line = calloc (9 + numauthpriv + 1 + numoids + 1, sizeof (char *));
|
||||
/* 10 arguments to pass before authpriv options + 1 for host and numoids. Add one for terminating NULL */
|
||||
command_line = calloc (10 + numauthpriv + 1 + numoids + 1, sizeof (char *));
|
||||
command_line[0] = snmpcmd;
|
||||
command_line[1] = strdup ("-Le");
|
||||
command_line[2] = strdup ("-t");
|
||||
|
|
|
|||
Loading…
Reference in a new issue