summaryrefslogtreecommitdiff
path: root/llmnr.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-02-19 16:54:43 +0100
committerTobias Klauser <tklauser@distanz.ch>2015-02-19 16:54:43 +0100
commita7221722d100d3ecc4fad0692c98ebc71b044ba5 (patch)
treede5546505bff37ab861eea3b7d5532b46597b75a /llmnr.c
parentd08ff82b68afb63fa2fe447a6730f151caf1612b (diff)
llmnrd: Fix address family type in event callback
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'llmnr.c')
-rw-r--r--llmnr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/llmnr.c b/llmnr.c
index f08c5d1..b3b2835 100644
--- a/llmnr.c
+++ b/llmnr.c
@@ -45,7 +45,8 @@ static bool llmnr_running = true;
*/
static char llmnr_hostname[LLMNR_LABEL_MAX_SIZE + 2];
-static void llmnr_iface_event_handle(enum iface_event_type type, int af, unsigned int ifindex)
+static void llmnr_iface_event_handle(enum iface_event_type type, unsigned char af,
+ unsigned int ifindex)
{
switch (af) {
case AF_INET: