aboutgitcodebugslistschat
path: root/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'udp.c')
-rw-r--r--udp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/udp.c b/udp.c
index a7fcc4d..7966079 100644
--- a/udp.c
+++ b/udp.c
@@ -1016,10 +1016,10 @@ fail:
*
* #syscalls sendmmsg
*/
-int udp_tap_handler(const struct ctx *c, uint8_t pif,
- sa_family_t af, const void *saddr, const void *daddr,
- uint8_t ttl, const struct pool *p, int idx,
- const struct timespec *now)
+unsigned int udp_tap_handler(const struct ctx *c, uint8_t pif, sa_family_t af,
+ const void *saddr, const void *daddr, uint8_t ttl,
+ const struct pool *p, int idx,
+ const struct timespec *now)
{
const struct flowside *toside;
struct mmsghdr mm[UIO_MAXIOV];