summaryrefslogtreecommitdiffstats
path: root/plugins/check_ntp_time.c
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_ntp_time.c
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_ntp_time.c')
-rw-r--r--plugins/check_ntp_time.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/check_ntp_time.c b/plugins/check_ntp_time.c
index afa6d16c..5955d22e 100644
--- a/plugins/check_ntp_time.c
+++ b/plugins/check_ntp_time.c
@@ -640,11 +640,7 @@ static check_ntp_time_config_wrapper process_arguments(int argc, char **argv) {
640 address_family = AF_INET; 640 address_family = AF_INET;
641 break; 641 break;
642 case '6': 642 case '6':
643#ifdef USE_IPV6
644 address_family = AF_INET6; 643 address_family = AF_INET6;
645#else
646 usage4(_("IPv6 support not available"));
647#endif
648 break; 644 break;
649 case '?': 645 case '?':
650 /* print short usage statement if args not parsable */ 646 /* print short usage statement if args not parsable */