summaryrefslogtreecommitdiff
path: root/iface.h
diff options
context:
space:
mode:
Diffstat (limited to 'iface.h')
-rw-r--r--iface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/iface.h b/iface.h
index a8eb92c..00a39ce 100644
--- a/iface.h
+++ b/iface.h
@@ -30,7 +30,7 @@ enum iface_event_type {
typedef void (*iface_event_handler_t)(enum iface_event_type, unsigned char af,
unsigned int ifindex);
-void iface_init(int sock, const char *iface, bool ipv6,
+int iface_init(int sock, const char *iface, bool ipv6,
iface_event_handler_t event_handler);
int iface_recv(int sock);