summaryrefslogtreecommitdiffstats
path: root/plugins/check_ping.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_ping.c')
-rw-r--r--plugins/check_ping.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c
index 0b2afce5..06bf8e76 100644
--- a/plugins/check_ping.c
+++ b/plugins/check_ping.c
@@ -227,7 +227,11 @@ process_arguments (int argc, char **argv)
227 address_family = AF_INET; 227 address_family = AF_INET;
228 break; 228 break;
229 case '6': /* IPv6 only */ 229 case '6': /* IPv6 only */
230#ifdef USE_IPV6
230 address_family = AF_INET6; 231 address_family = AF_INET6;
232#else
233 usage ("IPv6 support not available\n");
234#endif
231 break; 235 break;
232 case 'H': /* hostname */ 236 case 'H': /* hostname */
233 ptr=optarg; 237 ptr=optarg;