diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-05-16 09:07:35 +0200 |
---|---|---|
committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-05-16 12:46:56 +0200 |
commit | 6b86583e0d3db92cc5e87af97f4d204bc0e797f3 (patch) | |
tree | 7d92772168f9e188cf8832cead64be6971da1afc /plugins-root/check_icmp.d/check_icmp_helpers.c | |
parent | 9ebde5eb09dbf4b869ffd6f501d007b9b264e1a9 (diff) | |
download | monitoring-plugins-6b86583e0d3db92cc5e87af97f4d204bc0e797f3.tar.gz |
WIP - check_icmp refactor 5
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 2a521b04..58e13581 100644 --- a/plugins-root/check_icmp.d/check_icmp_helpers.c +++ b/plugins-root/check_icmp.d/check_icmp_helpers.c | |||
@@ -73,7 +73,7 @@ check_icmp_state check_icmp_state_init() { | |||
73 | return tmp; | 73 | return tmp; |
74 | } | 74 | } |
75 | 75 | ||
76 | rta_host_create_wrapper rta_host_create(char *name, struct sockaddr_storage *address) { | 76 | ping_target_create_wrapper ping_target_create(char *name, struct sockaddr_storage *address) { |
77 | struct sockaddr_in *sin; | 77 | struct sockaddr_in *sin; |
78 | struct sockaddr_in6 *sin6; | 78 | struct sockaddr_in6 *sin6; |
79 | if (address_family == AF_INET) { | 79 | if (address_family == AF_INET) { |
@@ -82,7 +82,7 @@ rta_host_create_wrapper rta_host_create(char *name, struct sockaddr_storage *add | |||
82 | sin6 = (struct sockaddr_in6 *)address; | 82 | sin6 = (struct sockaddr_in6 *)address; |
83 | } | 83 | } |
84 | 84 | ||
85 | rta_host_create_wrapper result = { | 85 | ping_target_create_wrapper result = { |
86 | .errorcode = OK, | 86 | .errorcode = OK, |
87 | }; | 87 | }; |
88 | 88 | ||