summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2020-03-28 18:56:11 +0100
committerTobias Klauser <tklauser@distanz.ch>2020-03-28 18:56:11 +0100
commit9709b4e2f5a32aab087c65994a600dc465310918 (patch)
treea34193a1ce903653dcf08e4e3077df08eb0cd445
parent8086a3db780f8a4ee6943a3ef2f774fc78105327 (diff)
llmnr: fix ifindex type
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r--llmnr.c2
1 files changed, 1 insertions, 1 deletions
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;