summaryrefslogtreecommitdiffstats
path: root/plugins/check_tcp.c
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2026-04-08 18:06:29 +0200
committerGitHub <noreply@github.com>2026-04-08 18:06:29 +0200
commit3a6f9292f147de29b21dafa4cf9b7efce3e4cbfd (patch)
treeb7a2f64487a5a13753a14cd627550bcd95bc8eaf /plugins/check_tcp.c
parent613cb60c96e21eaafb82b80a6b6d84b1b1f9729f (diff)
downloadmonitoring-plugins-3a6f9292f147de29b21dafa4cf9b7efce3e4cbfd.tar.gz
Rename USE_OPENSSL to MOPL_USE_OPENSSL (#2253)
net-snmp uses the same pre processor name "USE_OPENSSL" as we do. To avoid the conflict, this commit renames it on our side to "MOPL_USE_OPENSSL". "MOPL" (better "MoPl"?) stands for Monitoring Plugins.
Diffstat (limited to 'plugins/check_tcp.c')
-rw-r--r--plugins/check_tcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index 49a8c4c1..cd8e04b0 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -683,7 +683,7 @@ static check_tcp_config_wrapper process_arguments(int argc, char **argv, check_t
683 break; 683 break;
684 case 'D': /* Check SSL cert validity - days 'til certificate expiration */ 684 case 'D': /* Check SSL cert validity - days 'til certificate expiration */
685#ifdef HAVE_SSL 685#ifdef HAVE_SSL
686# ifdef USE_OPENSSL /* XXX */ 686# ifdef MOPL_USE_OPENSSL /* XXX */
687 { 687 {
688 char *temp; 688 char *temp;
689 if ((temp = strchr(optarg, ',')) != NULL) { 689 if ((temp = strchr(optarg, ',')) != NULL) {
@@ -708,7 +708,7 @@ static check_tcp_config_wrapper process_arguments(int argc, char **argv, check_t
708 config.check_cert = true; 708 config.check_cert = true;
709 config.use_tls = true; 709 config.use_tls = true;
710 } break; 710 } break;
711# endif /* USE_OPENSSL */ 711# endif /* MOPL_USE_OPENSSL */
712#endif 712#endif
713 /* fallthrough if we don't have ssl */ 713 /* fallthrough if we don't have ssl */
714 case 'S': 714 case 'S':