diff options
author | Lorenz Kästle <lorenz.kaestle@netways.de> | 2023-08-28 11:15:59 +0200 |
---|---|---|
committer | Lorenz Kästle <lorenz.kaestle@netways.de> | 2023-08-28 11:15:59 +0200 |
commit | 9e32be80d673cb9bd7877cad8b6e24b99e79e8b0 (patch) | |
tree | 515522f04c74e8b1f20bec307a670b504e2259be | |
parent | c6abf11e021ded0592bd6697040bde93cf64b022 (diff) | |
download | monitoring-plugins-9e32be8.tar.gz |
Remove dead, commented code
-rw-r--r-- | plugins/check_snmp.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index 43e79a1c..2acada22 100644 --- a/plugins/check_snmp.c +++ b/plugins/check_snmp.c | |||
@@ -347,15 +347,6 @@ main (int argc, char **argv) | |||
347 | server_address, | 347 | server_address, |
348 | port); | 348 | port); |
349 | 349 | ||
350 | |||
351 | |||
352 | /* This is just for display purposes, so it can remain a string */ | ||
353 | /* | ||
354 | xasprintf(&cl_hidden_auth, "%s -Le -t %d -r %d -m %s -v %s %s %s %s:%s", | ||
355 | snmpcmd, timeout_interval, retries, strlen(miblist) ? miblist : "''", proto, "[context]", "[authpriv]", | ||
356 | server_address, port); | ||
357 | */ | ||
358 | |||
359 | for (i = 0; i < numoids; i++) { | 350 | for (i = 0; i < numoids; i++) { |
360 | command_line[index++] = oids[i]; | 351 | command_line[index++] = oids[i]; |
361 | xasprintf(&cl_hidden_auth, "%s %s", cl_hidden_auth, oids[i]); | 352 | xasprintf(&cl_hidden_auth, "%s %s", cl_hidden_auth, oids[i]); |