diff options
Diffstat (limited to 'icmp.c')
| -rw-r--r-- | icmp.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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; |
