diff options
-rw-r--r-- | plugins-root/check_icmp.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c index b6804d2..56685f8 100644 --- a/plugins-root/check_icmp.c +++ b/plugins-root/check_icmp.c | |||
@@ -480,7 +480,6 @@ main(int argc, char **argv) | |||
480 | usage_va("ICMP data length must be between: %d and %d", | 480 | usage_va("ICMP data length must be between: %d and %d", |
481 | sizeof(struct icmp) + sizeof(struct icmp_ping_data), | 481 | sizeof(struct icmp) + sizeof(struct icmp_ping_data), |
482 | MAX_PING_DATA - 1); | 482 | MAX_PING_DATA - 1); |
483 | |||
484 | break; | 483 | break; |
485 | case 'i': | 484 | case 'i': |
486 | pkt_interval = get_timevar(optarg); | 485 | pkt_interval = get_timevar(optarg); |
@@ -520,12 +519,12 @@ main(int argc, char **argv) | |||
520 | case 's': /* specify source IP address */ | 519 | case 's': /* specify source IP address */ |
521 | set_source_ip(optarg); | 520 | set_source_ip(optarg); |
522 | break; | 521 | break; |
523 | case 'V': /* version */ | 522 | case 'V': /* version */ |
524 | print_revision (progname, NP_VERSION); | 523 | print_revision (progname, NP_VERSION); |
525 | exit (STATE_OK); | 524 | exit (STATE_OK); |
526 | case 'h': /* help */ | 525 | case 'h': /* help */ |
527 | print_help (); | 526 | print_help (); |
528 | exit (STATE_OK); | 527 | exit (STATE_OK); |
529 | } | 528 | } |
530 | } | 529 | } |
531 | } | 530 | } |