diff options
Diffstat (limited to 'plugins/check_ssh.c')
-rw-r--r-- | plugins/check_ssh.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/check_ssh.c b/plugins/check_ssh.c index 421fc01c..fba3a862 100644 --- a/plugins/check_ssh.c +++ b/plugins/check_ssh.c | |||
@@ -110,7 +110,11 @@ process_arguments (int argc, char **argv) | |||
110 | address_family = AF_INET; | 110 | address_family = AF_INET; |
111 | break; | 111 | break; |
112 | case '6': | 112 | case '6': |
113 | #ifdef USE_IPV6 | ||
113 | address_family = AF_INET6; | 114 | address_family = AF_INET6; |
115 | #else | ||
116 | usage ("IPv6 support not available\n"); | ||
117 | #endif | ||
114 | break; | 118 | break; |
115 | case 'H': /* host */ | 119 | case 'H': /* host */ |
116 | if (is_host (optarg) == FALSE) | 120 | if (is_host (optarg) == FALSE) |