summaryrefslogtreecommitdiff
path: root/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'socket.h')
-rw-r--r--socket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/socket.h b/socket.h
index 93c41a0..49d999b 100644
--- a/socket.h
+++ b/socket.h
@@ -22,8 +22,8 @@
#include <stdbool.h>
#include <stdint.h>
-int socket_open_ipv4(uint16_t port);
-int socket_open_ipv6(uint16_t port);
+int socket_open_ipv4(uint16_t port, const char *iface);
+int socket_open_ipv6(uint16_t port, const char *iface);
int socket_open_rtnl(bool ipv6);
int socket_mcast_group_ipv4(int sock, unsigned int ifindex, bool join);