diff options
Diffstat (limited to 'plugins-root/check_icmp.d')
-rw-r--r-- | plugins-root/check_icmp.d/check_icmp_helpers.c | 2 | ||||
-rw-r--r-- | plugins-root/check_icmp.d/check_icmp_helpers.h | 4 | ||||
-rw-r--r-- | plugins-root/check_icmp.d/config.h | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/plugins-root/check_icmp.d/check_icmp_helpers.c b/plugins-root/check_icmp.d/check_icmp_helpers.c index 47604952..7a936cc9 100644 --- a/plugins-root/check_icmp.d/check_icmp_helpers.c +++ b/plugins-root/check_icmp.d/check_icmp_helpers.c | |||
@@ -43,7 +43,7 @@ check_icmp_config check_icmp_config_init() { | |||
43 | .need_v4 = false, | 43 | .need_v4 = false, |
44 | .need_v6 = false, | 44 | .need_v6 = false, |
45 | 45 | ||
46 | .sender_id = {}, | 46 | .sender_id = 0, |
47 | 47 | ||
48 | .mode = MODE_RTA, | 48 | .mode = MODE_RTA, |
49 | 49 | ||
diff --git a/plugins-root/check_icmp.d/check_icmp_helpers.h b/plugins-root/check_icmp.d/check_icmp_helpers.h index 713dd8ce..1b9372ce 100644 --- a/plugins-root/check_icmp.d/check_icmp_helpers.h +++ b/plugins-root/check_icmp.d/check_icmp_helpers.h | |||
@@ -9,7 +9,7 @@ | |||
9 | #include <netinet/icmp6.h> | 9 | #include <netinet/icmp6.h> |
10 | #include <arpa/inet.h> | 10 | #include <arpa/inet.h> |
11 | 11 | ||
12 | typedef struct rta_host { | 12 | typedef struct ping_target { |
13 | unsigned short id; /* id in **table, and icmp pkts */ | 13 | unsigned short id; /* id in **table, and icmp pkts */ |
14 | char *msg; /* icmp error message, if any */ | 14 | char *msg; /* icmp error message, if any */ |
15 | 15 | ||
@@ -32,7 +32,7 @@ typedef struct rta_host { | |||
32 | 32 | ||
33 | bool found_out_of_order_packets; | 33 | bool found_out_of_order_packets; |
34 | 34 | ||
35 | struct rta_host *next; | 35 | struct ping_target *next; |
36 | } ping_target; | 36 | } ping_target; |
37 | 37 | ||
38 | ping_target ping_target_init(); | 38 | ping_target ping_target_init(); |
diff --git a/plugins-root/check_icmp.d/config.h b/plugins-root/check_icmp.d/config.h index 8e9c96b2..97be7fc1 100644 --- a/plugins-root/check_icmp.d/config.h +++ b/plugins-root/check_icmp.d/config.h | |||
@@ -60,8 +60,8 @@ typedef struct { | |||
60 | unsigned long ttl; | 60 | unsigned long ttl; |
61 | unsigned short icmp_data_size; | 61 | unsigned short icmp_data_size; |
62 | unsigned short icmp_pkt_size; | 62 | unsigned short icmp_pkt_size; |
63 | unsigned int pkt_interval; | 63 | time_t pkt_interval; |
64 | unsigned int target_interval; | 64 | time_t target_interval; |
65 | unsigned short number_of_packets; | 65 | unsigned short number_of_packets; |
66 | 66 | ||
67 | char *source_ip; | 67 | char *source_ip; |