diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2026-02-06 12:59:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-06 12:59:58 +0100 |
| commit | 0f0865c910096c95594ac09929708e84934e46df (patch) | |
| tree | ab43775280c322435d4c33a58a7994fa6a13917b /plugins/check_http.c | |
| parent | cef40299a93233f043f5b0821a9ad2c69dd612f7 (diff) | |
| download | monitoring-plugins-0f0865c910096c95594ac09929708e84934e46df.tar.gz | |
Make IPv6 unconditional (#2219)coverity/master
This commits removes the detection of IPv6 availability.
The IPv6 code in the plugins is used unconditionally now.
Diffstat (limited to 'plugins/check_http.c')
| -rw-r--r-- | plugins/check_http.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c index d2f080c7..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; |
