From 085cabf266bfbbc5ebdada9179a8ebe404e540a8 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Tue, 6 May 2014 21:57:09 +0200 Subject: dhcp-network: don't pass ifindex to bind_udp_socket UDP sockets can anyway not be bound to specific netdev's. The packages would have to be filtered when received instead. --- src/libsystemd-network/dhcp-internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsystemd-network/dhcp-internal.h') diff --git a/src/libsystemd-network/dhcp-internal.h b/src/libsystemd-network/dhcp-internal.h index c0cfa83471..eb4a6cdce2 100644 --- a/src/libsystemd-network/dhcp-internal.h +++ b/src/libsystemd-network/dhcp-internal.h @@ -30,7 +30,7 @@ #include "dhcp-protocol.h" int dhcp_network_bind_raw_socket(int index, union sockaddr_union *link, uint32_t xid); -int dhcp_network_bind_udp_socket(int index, be32_t address, uint16_t port); +int dhcp_network_bind_udp_socket(be32_t address, uint16_t port); int dhcp_network_send_raw_socket(int s, const union sockaddr_union *link, const void *packet, size_t len); int dhcp_network_send_udp_socket(int s, be32_t address, uint16_t port, -- cgit v1.2.3-54-g00ecf