diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-06-23 10:52:56 +0200 |
|---|---|---|
| committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-06-23 10:52:56 +0200 |
| commit | b08bafc45cea008abb46e0891c55e7745e117aae (patch) | |
| tree | ef30e1d350b2796e44d8e31aa5beeece17b6d73b /plugins-root/check_icmp.d | |
| parent | 27d30c3df0904ef4c81ad5adc50fa451777693a9 (diff) | |
| download | monitoring-plugins-b08bafc45cea008abb46e0891c55e7745e117aae.tar.gz | |
check_icmp: remove paket_interval, was never used anyway
Diffstat (limited to 'plugins-root/check_icmp.d')
| -rw-r--r-- | plugins-root/check_icmp.d/check_icmp_helpers.c | 1 | ||||
| -rw-r--r-- | plugins-root/check_icmp.d/config.h | 1 |
2 files changed, 0 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 9acc96fd..0be0f2dc 100644 --- a/plugins-root/check_icmp.d/check_icmp_helpers.c +++ b/plugins-root/check_icmp.d/check_icmp_helpers.c | |||
| @@ -35,7 +35,6 @@ check_icmp_config check_icmp_config_init() { | |||
| 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, | 37 | .icmp_pkt_size = DEFAULT_PING_DATA_SIZE + ICMP_MINLEN, |
| 38 | .pkt_interval = DEFAULT_PKT_INTERVAL, | ||
| 39 | .target_interval = 0, | 38 | .target_interval = 0, |
| 40 | .number_of_packets = DEFAULT_NUMBER_OF_PACKETS, | 39 | .number_of_packets = DEFAULT_NUMBER_OF_PACKETS, |
| 41 | 40 | ||
diff --git a/plugins-root/check_icmp.d/config.h b/plugins-root/check_icmp.d/config.h index 8092e343..1568d6c3 100644 --- a/plugins-root/check_icmp.d/config.h +++ b/plugins-root/check_icmp.d/config.h | |||
| @@ -61,7 +61,6 @@ typedef struct { | |||
| 61 | unsigned long ttl; | 61 | unsigned long ttl; |
| 62 | unsigned short icmp_data_size; | 62 | unsigned short icmp_data_size; |
| 63 | unsigned short icmp_pkt_size; | 63 | unsigned short icmp_pkt_size; |
| 64 | time_t pkt_interval; | ||
| 65 | time_t target_interval; | 64 | time_t target_interval; |
| 66 | unsigned short number_of_packets; | 65 | unsigned short number_of_packets; |
| 67 | 66 | ||
