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_smtp.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_smtp.c')
| -rw-r--r-- | plugins/check_smtp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c index 03335665..701af7b0 100644 --- a/plugins/check_smtp.c +++ b/plugins/check_smtp.c | |||
| @@ -819,11 +819,7 @@ check_smtp_config_wrapper process_arguments(int argc, char **argv) { | |||
| 819 | address_family = AF_INET; | 819 | address_family = AF_INET; |
| 820 | break; | 820 | break; |
| 821 | case '6': | 821 | case '6': |
| 822 | #ifdef USE_IPV6 | ||
| 823 | address_family = AF_INET6; | 822 | address_family = AF_INET6; |
| 824 | #else | ||
| 825 | usage4(_("IPv6 support not available")); | ||
| 826 | #endif | ||
| 827 | break; | 823 | break; |
| 828 | case 'V': /* version */ | 824 | case 'V': /* version */ |
| 829 | print_revision(progname, NP_VERSION); | 825 | print_revision(progname, NP_VERSION); |
