summaryrefslogtreecommitdiffhomepage
path: root/src/odhcpd.h
diff options
context:
space:
mode:
authorsbyx <steven@midlink.org>2014-10-30 14:23:35 +0100
committersbyx <steven@midlink.org>2014-10-30 14:23:35 +0100
commitee243b09f3c81f824cc463c1c757e905f882350e (patch)
tree4e23443cfbfc557a5babdf262e73f8898c9f3e34 /src/odhcpd.h
parenta408b9648f04962113ee6bf3d4a2dbddc9b0394e (diff)
parentd94b406eeba27af2a6abff333dc16e82d28ed636 (diff)
Merge pull request #30 from dedeckeh/bugfixes
Fix IPv6 DNS server adddress selection
Diffstat (limited to 'src/odhcpd.h')
-rw-r--r--src/odhcpd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/odhcpd.h b/src/odhcpd.h
index c0e509d..bc837d5 100644
--- a/src/odhcpd.h
+++ b/src/odhcpd.h
@@ -186,6 +186,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);
struct interface* odhcpd_get_interface_by_name(const char *name);
int odhcpd_get_interface_mtu(const char *ifname);
int odhcpd_get_mac(const struct interface *iface, uint8_t mac[6]);