diff options
Diffstat (limited to 'plugins/t')
0 files changed, 0 insertions, 0 deletions
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index f8cae9b..e6707a0 100644 --- a/plugins/check_snmp.c +++ b/plugins/check_snmp.c | |||
@@ -493,8 +493,6 @@ main (int argc, char **argv) | |||
493 | temp_string=labels[i]; | 493 | temp_string=labels[i]; |
494 | else | 494 | else |
495 | temp_string=oidname; | 495 | temp_string=oidname; |
496 | if(calculate_rate) | ||
497 | asprintf(&temp_string,"%s-rate",temp_string); | ||
498 | strncat(perfstr, temp_string, sizeof(perfstr)-strlen(perfstr)-1); | 496 | strncat(perfstr, temp_string, sizeof(perfstr)-strlen(perfstr)-1); |
499 | strncat(perfstr, "=", sizeof(perfstr)-strlen(perfstr)-1); | 497 | strncat(perfstr, "=", sizeof(perfstr)-strlen(perfstr)-1); |
500 | len = sizeof(perfstr)-strlen(perfstr)-1; | 498 | len = sizeof(perfstr)-strlen(perfstr)-1; |