summaryrefslogtreecommitdiffhomepage
path: root/src/odhcpd.h
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2015-08-20 11:33:23 +0200
committerSteven Barth <steven@midlink.org>2015-08-20 11:33:23 +0200
commit5b12eeba475a3301c362cf59f138ec7aa60d2dd9 (patch)
treef0e0e4a98f4585e7c2e514e5020e30a9fa17fabd /src/odhcpd.h
parent2fd5d19525699f19186daca9b246dd37a0f547a0 (diff)
router/dhcpv6: use link-local addresses for DNS
Diffstat (limited to 'src/odhcpd.h')
-rw-r--r--src/odhcpd.h2
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]);