summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/dhcp-internal.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-05-06 21:57:09 +0200
committerTom Gundersen <teg@jklm.no>2014-05-06 21:58:08 +0200
commit085cabf266bfbbc5ebdada9179a8ebe404e540a8 (patch)
tree398f096aafd6f7a8865bfd18ded262b154c9fcae /src/libsystemd-network/dhcp-internal.h
parentb408026b9899c1f9d155ac6d9f7bdc7f5cd3defb (diff)
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.
Diffstat (limited to 'src/libsystemd-network/dhcp-internal.h')
-rw-r--r--src/libsystemd-network/dhcp-internal.h2
1 files changed, 1 insertions, 1 deletions
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,