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 2203e92..a8eb92c 100644
--- a/iface.h
+++ b/iface.h
@@ -32,7 +32,7 @@ typedef void (*iface_event_handler_t)(enum iface_event_type, unsigned char af,
void iface_init(int sock, const char *iface, bool ipv6,
iface_event_handler_t event_handler);
-void iface_recv(int sock);
+int iface_recv(int sock);
size_t iface_addr_lookup(unsigned int ifindex, unsigned char family,
struct sockaddr_storage *addrs, size_t addrs_size);