diff options
author | Steven Barth <steven@midlink.org> | 2015-08-20 11:33:23 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2015-08-20 11:33:23 +0200 |
commit | 5b12eeba475a3301c362cf59f138ec7aa60d2dd9 (patch) | |
tree | f0e0e4a98f4585e7c2e514e5020e30a9fa17fabd /src/odhcpd.h | |
parent | 2fd5d19525699f19186daca9b246dd37a0f547a0 (diff) |
router/dhcpv6: use link-local addresses for DNS
Diffstat (limited to 'src/odhcpd.h')
-rw-r--r-- | src/odhcpd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odhcpd.h b/src/odhcpd.h index ab24674..81f4bee 100644 --- a/src/odhcpd.h +++ b/src/odhcpd.h @@ -185,7 +185,7 @@ ssize_t odhcpd_send(int socket, struct sockaddr_in6 *dest, const struct interface *iface); ssize_t odhcpd_get_interface_addresses(int ifindex, struct odhcpd_ipaddr *addrs, size_t cnt); -int odhcpd_get_preferred_interface_address(int ifindex, struct in6_addr *addr); +int odhcpd_get_linklocal_interface_address(int ifindex, struct in6_addr *lladdr); struct interface* odhcpd_get_interface_by_name(const char *name); int odhcpd_get_interface_config(const char *ifname, const char *what); int odhcpd_get_mac(const struct interface *iface, uint8_t mac[6]); |