diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/check_tcp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c index 57e1f0df..a977077c 100644 --- a/plugins/check_tcp.c +++ b/plugins/check_tcp.c | |||
| @@ -366,16 +366,16 @@ main (int argc, char **argv) | |||
| 366 | if(match == -2) | 366 | if(match == -2) |
| 367 | printf ("|%s", | 367 | printf ("|%s", |
| 368 | fperfdata ("time", elapsed_time, "s", | 368 | fperfdata ("time", elapsed_time, "s", |
| 369 | TRUE, 0, | 369 | (flags & FLAG_TIME_WARN ? TRUE : FALSE), 0, |
| 370 | TRUE, 0, | 370 | (flags & FLAG_TIME_CRIT ? TRUE : FALSE), 0, |
| 371 | TRUE, 0, | 371 | TRUE, 0, |
| 372 | TRUE, socket_timeout) | 372 | TRUE, socket_timeout) |
| 373 | ); | 373 | ); |
| 374 | else | 374 | else |
| 375 | printf("|%s", | 375 | printf("|%s", |
| 376 | fperfdata ("time", elapsed_time, "s", | 376 | fperfdata ("time", elapsed_time, "s", |
| 377 | TRUE, warning_time, | 377 | (flags & FLAG_TIME_WARN ? TRUE : FALSE), warning_time, |
| 378 | TRUE, critical_time, | 378 | (flags & FLAG_TIME_CRIT ? TRUE : FALSE), critical_time, |
| 379 | TRUE, 0, | 379 | TRUE, 0, |
| 380 | TRUE, socket_timeout) | 380 | TRUE, socket_timeout) |
| 381 | ); | 381 | ); |
