diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-06-23 12:00:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-23 12:00:28 +0200 |
| commit | 1150082f6042e50c6fe109d15b4e68ea27e0c890 (patch) | |
| tree | 15e8b473e04ab60024ef71556f122e7c9fffc2dd /plugins-root/check_icmp.d/check_icmp_helpers.c | |
| parent | b8580c18e354b9070adbf464df186442d55dc120 (diff) | |
| parent | bd55d9cd2d30deb2146d63af0c6ac1daa79cc496 (diff) | |
| download | monitoring-plugins-1150082f.tar.gz | |
Merge pull request #2130 from RincewindsHat/check_icmp/adjustements
Check icmp/adjustements
Diffstat (limited to 'plugins-root/check_icmp.d/check_icmp_helpers.c')
| -rw-r--r-- | plugins-root/check_icmp.d/check_icmp_helpers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins-root/check_icmp.d/check_icmp_helpers.c b/plugins-root/check_icmp.d/check_icmp_helpers.c index ec786305..d56fbd8b 100644 --- a/plugins-root/check_icmp.d/check_icmp_helpers.c +++ b/plugins-root/check_icmp.d/check_icmp_helpers.c | |||
| @@ -34,8 +34,6 @@ check_icmp_config check_icmp_config_init() { | |||
| 34 | 34 | ||
| 35 | .ttl = DEFAULT_TTL, | 35 | .ttl = DEFAULT_TTL, |
| 36 | .icmp_data_size = DEFAULT_PING_DATA_SIZE, | 36 | .icmp_data_size = DEFAULT_PING_DATA_SIZE, |
| 37 | .icmp_pkt_size = DEFAULT_PING_DATA_SIZE + ICMP_MINLEN, | ||
| 38 | .pkt_interval = DEFAULT_PKT_INTERVAL, | ||
| 39 | .target_interval = 0, | 37 | .target_interval = 0, |
| 40 | .number_of_packets = DEFAULT_NUMBER_OF_PACKETS, | 38 | .number_of_packets = DEFAULT_NUMBER_OF_PACKETS, |
| 41 | 39 | ||
| @@ -52,6 +50,8 @@ check_icmp_config check_icmp_config_init() { | |||
| 52 | 50 | ||
| 53 | .number_of_hosts = 0, | 51 | .number_of_hosts = 0, |
| 54 | .hosts = NULL, | 52 | .hosts = NULL, |
| 53 | |||
| 54 | .output_format_is_set = false, | ||
| 55 | }; | 55 | }; |
| 56 | return tmp; | 56 | return tmp; |
| 57 | } | 57 | } |
