From 9709b4e2f5a32aab087c65994a600dc465310918 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sat, 28 Mar 2020 18:56:11 +0100 Subject: llmnr: fix ifindex type Signed-off-by: Tobias Klauser --- llmnr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llmnr.c b/llmnr.c index 2afdca6..facba70 100644 --- a/llmnr.c +++ b/llmnr.c @@ -188,7 +188,7 @@ static void llmnr_respond(unsigned int ifindex, const struct llmnr_hdr *hdr, pkt_free(p); } -static void llmnr_packet_process(unsigned int ifindex, const uint8_t *pktbuf, size_t len, +static void llmnr_packet_process(int ifindex, const uint8_t *pktbuf, size_t len, int sock, const struct sockaddr_storage *sst) { const struct llmnr_hdr *hdr = (const struct llmnr_hdr *)pktbuf; -- cgit v1.2.3-54-g00ecf