aboutgitcodebugslistschat
path: root/icmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'icmp.c')
-rw-r--r--icmp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/icmp.c b/icmp.c
index 8f44bdc..aeeb039 100644
--- a/icmp.c
+++ b/icmp.c
@@ -249,9 +249,10 @@ cancel:
*
* Return: count of consumed packets (always 1, even if malformed)
*/
-int icmp_tap_handler(const struct ctx *c, uint8_t pif, sa_family_t af,
- const void *saddr, const void *daddr,
- struct iov_tail *data, const struct timespec *now)
+unsigned int icmp_tap_handler(const struct ctx *c, uint8_t pif, sa_family_t af,
+ const void *saddr, const void *daddr,
+ struct iov_tail *data,
+ const struct timespec *now)
{
struct iovec iov[MAX_IOV_ICMP];
struct icmp_ping_flow *pingf;