diff options
Diffstat (limited to 'plugins/check_http.c')
| -rw-r--r-- | plugins/check_http.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c index d264b95d..71f94b91 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c | |||
| @@ -544,11 +544,7 @@ bool process_arguments(int argc, char **argv) { | |||
| 544 | address_family = AF_INET; | 544 | address_family = AF_INET; |
| 545 | break; | 545 | break; |
| 546 | case '6': | 546 | case '6': |
| 547 | #ifdef USE_IPV6 | ||
| 548 | address_family = AF_INET6; | 547 | address_family = AF_INET6; |
| 549 | #else | ||
| 550 | usage4(_("IPv6 support not available")); | ||
| 551 | #endif | ||
| 552 | break; | 548 | break; |
| 553 | case 'v': /* verbose */ | 549 | case 'v': /* verbose */ |
| 554 | verbose = true; | 550 | verbose = true; |
| @@ -1036,7 +1032,7 @@ int check_http(void) { | |||
| 1036 | printf("SSL initialized\n"); | 1032 | printf("SSL initialized\n"); |
| 1037 | } | 1033 | } |
| 1038 | if (result != STATE_OK) { | 1034 | if (result != STATE_OK) { |
| 1039 | die(STATE_CRITICAL, NULL); | 1035 | die(STATE_CRITICAL, _("HTTP CRITICAL - SSL error\n")); |
| 1040 | } | 1036 | } |
| 1041 | microsec_ssl = deltime(tv_temp); | 1037 | microsec_ssl = deltime(tv_temp); |
| 1042 | elapsed_time_ssl = (double)microsec_ssl / 1.0e6; | 1038 | elapsed_time_ssl = (double)microsec_ssl / 1.0e6; |
