aboutsummaryrefslogtreecommitdiff
path: root/plugins-root
diff options
context:
space:
mode:
authorGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2013-09-04 22:28:50 +0200
committerGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2013-09-04 22:28:50 +0200
commit317d2896dc29d66357fe067226dce440aad010f9 (patch)
tree9f480229d59e9782fef2b0dc0ba630e21943dc89 /plugins-root
parenta480681cb7b86adecac69d4969f94e5a6d302190 (diff)
downloadmonitoring-plugins-317d2896dc29d66357fe067226dce440aad010f9.tar.gz
check_icmp: Minor whitespace/indentation fixes
Diffstat (limited to 'plugins-root')
-rw-r--r--plugins-root/check_icmp.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c
index b6804d24..56685f86 100644
--- a/plugins-root/check_icmp.c
+++ b/plugins-root/check_icmp.c
@@ -480,7 +480,6 @@ main(int argc, char **argv)
usage_va("ICMP data length must be between: %d and %d",
sizeof(struct icmp) + sizeof(struct icmp_ping_data),
MAX_PING_DATA - 1);
-
break;
case 'i':
pkt_interval = get_timevar(optarg);
@@ -520,12 +519,12 @@ main(int argc, char **argv)
case 's': /* specify source IP address */
set_source_ip(optarg);
break;
- case 'V': /* version */
- print_revision (progname, NP_VERSION);
- exit (STATE_OK);
- case 'h': /* help */
- print_help ();
- exit (STATE_OK);
+ case 'V': /* version */
+ print_revision (progname, NP_VERSION);
+ exit (STATE_OK);
+ case 'h': /* help */
+ print_help ();
+ exit (STATE_OK);
}
}
}