From 5b12eeba475a3301c362cf59f138ec7aa60d2dd9 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Thu, 20 Aug 2015 11:33:23 +0200 Subject: router/dhcpv6: use link-local addresses for DNS --- src/odhcpd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/odhcpd.h') 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]); -- cgit v1.2.3