summaryrefslogtreecommitdiff
path: root/iface.h
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 /iface.h
parentd08ff82b68afb63fa2fe447a6730f151caf1612b (diff)
llmnrd: Fix address family type in event callback
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'iface.h')
-rw-r--r--iface.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/iface.h b/iface.h
index cdcf716..47321d5 100644
--- a/iface.h
+++ b/iface.h
@@ -26,7 +26,8 @@ enum iface_event_type {
IFACE_DEL,
};
-typedef void (*iface_event_handler_t)(enum iface_event_type, int af, unsigned int ifindex);
+typedef void (*iface_event_handler_t)(enum iface_event_type, unsigned char af,
+ unsigned int ifindex);
void iface_register_event_handler(iface_event_handler_t event_handler);
int iface_start_thread(void);