aboutsummaryrefslogtreecommitdiffstats
path: root/src/icmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/icmp.h')
-rw-r--r--src/icmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/icmp.h b/src/icmp.h
index 0fc94e1..7e177e0 100644
--- a/src/icmp.h
+++ b/src/icmp.h
@@ -13,7 +13,7 @@ int icmp_send_frag_needed(int fd, struct sockaddr *to, int tolen,
struct iphdr *iph, int newmtu);
int icmp_send_ping(int fd, struct sockaddr *to, int tolen,
int seq, int total_size);
-int icmp_read_reply(int fd, struct sockaddr *from, int fromlen,
+int icmp_read_reply(int fd, struct sockaddr *from, socklen_t fromlen,
__u8 *buf, int buflen);
int icmp_open(float timeout);
void icmp_close(int fd);