summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins-root/check_icmp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c
index 783b85d1..7a3d7464 100644
--- a/plugins-root/check_icmp.c
+++ b/plugins-root/check_icmp.c
@@ -468,7 +468,6 @@ main(int argc, char **argv)
468 /* Parse protocol arguments first */ 468 /* Parse protocol arguments first */
469 for(i = 1; i < argc; i++) { 469 for(i = 1; i < argc; i++) {
470 while((arg = getopt(argc, argv, opts_str)) != EOF) { 470 while((arg = getopt(argc, argv, opts_str)) != EOF) {
471 unsigned short size;
472 switch(arg) { 471 switch(arg) {
473 case '4': 472 case '4':
474 if (address_family != -1) 473 if (address_family != -1)
@@ -491,10 +490,10 @@ main(int argc, char **argv)
491 /* Reset argument scanning */ 490 /* Reset argument scanning */
492 optind = 1; 491 optind = 1;
493 492
493 unsigned short size;
494 /* parse the arguments */ 494 /* parse the arguments */
495 for(i = 1; i < argc; i++) { 495 for(i = 1; i < argc; i++) {
496 while((arg = getopt(argc, argv, opts_str)) != EOF) { 496 while((arg = getopt(argc, argv, opts_str)) != EOF) {
497 unsigned short size;
498 switch(arg) { 497 switch(arg) {
499 case 'v': 498 case 'v':
500 debug++; 499 debug++;