summaryrefslogtreecommitdiffstats
path: root/plugins/check_curl.d
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2026-02-06 12:59:58 +0100
committerGitHub <noreply@github.com>2026-02-06 12:59:58 +0100
commit0f0865c910096c95594ac09929708e84934e46df (patch)
treeab43775280c322435d4c33a58a7994fa6a13917b /plugins/check_curl.d
parentcef40299a93233f043f5b0821a9ad2c69dd612f7 (diff)
downloadmonitoring-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_curl.d')
-rw-r--r--plugins/check_curl.d/check_curl_helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_curl.d/check_curl_helpers.c b/plugins/check_curl.d/check_curl_helpers.c
index 5af00973..ad31b847 100644
--- a/plugins/check_curl.d/check_curl_helpers.c
+++ b/plugins/check_curl.d/check_curl_helpers.c
@@ -488,7 +488,7 @@ check_curl_configure_curl(const check_curl_static_curl_config config,
488 curl_easy_setopt(result.curl_state.curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4), 488 curl_easy_setopt(result.curl_state.curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4),
489 "CURLOPT_IPRESOLVE(CURL_IPRESOLVE_V4)"); 489 "CURLOPT_IPRESOLVE(CURL_IPRESOLVE_V4)");
490 } 490 }
491#if defined(USE_IPV6) && defined(LIBCURL_FEATURE_IPV6) 491#if defined(LIBCURL_FEATURE_IPV6)
492 else if (config.sin_family == AF_INET6) { 492 else if (config.sin_family == AF_INET6) {
493 handle_curl_option_return_code( 493 handle_curl_option_return_code(
494 curl_easy_setopt(result.curl_state.curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V6), 494 curl_easy_setopt(result.curl_state.curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V6),