summaryrefslogtreecommitdiffstats
path: root/plugins/check_ping.c
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-07-06 22:49:04 +0200
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-07-06 22:49:04 +0200
commit92c7b91002b64187a67463e79ae3d306f5de923c (patch)
tree0a167d65d488fd07641789e45c6863e2b982fe43 /plugins/check_ping.c
parentbb4ce15997a3023c5c4f2bb434b37699797272da (diff)
parente63acdb83d9edcc8c1e244fc34043b4876b74f16 (diff)
downloadmonitoring-plugins-92c7b910.tar.gz
Merge branch 'master' into refactor/check_load
Diffstat (limited to 'plugins/check_ping.c')
-rw-r--r--plugins/check_ping.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c
index 940b9475..6bcdeaad 100644
--- a/plugins/check_ping.c
+++ b/plugins/check_ping.c
@@ -116,10 +116,10 @@ int main(int argc, char **argv) {
116# ifdef PING_HAS_TIMEOUT 116# ifdef PING_HAS_TIMEOUT
117 xasprintf(&cmd, rawcmd, timeout_interval, config.max_packets, config.addresses[i]); 117 xasprintf(&cmd, rawcmd, timeout_interval, config.max_packets, config.addresses[i]);
118# else 118# else
119 xasprintf(&cmd, rawcmd, config.max_packets, addresses[i]); 119 xasprintf(&cmd, rawcmd, config.max_packets, config.addresses[i]);
120# endif 120# endif
121#else 121#else
122 xasprintf(&cmd, rawcmd, addresses[i], config.max_packets); 122 xasprintf(&cmd, rawcmd, config.addresses[i], config.max_packets);
123#endif 123#endif
124 124
125 if (verbose >= 2) { 125 if (verbose >= 2) {