summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-01-05 23:01:32 +0100
committerTom Gundersen <teg@jklm.no>2014-01-05 23:01:38 +0100
commit9f9a964f195df68175cd3d5c9c90a476fa474073 (patch)
tree8c5d4ec72f6ac08dda3a2a2d72007cb23e09737c /src/systemd
parent146ccaafd5c9d4f2798240b049f595f70f45f77b (diff)
libsystemd-dhcp: expose received DNS server
Diffstat (limited to 'src/systemd')
-rw-r--r--src/systemd/sd-dhcp-client.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemd/sd-dhcp-client.h b/src/systemd/sd-dhcp-client.h
index fdc5b2dcba..68fcba5495 100644
--- a/src/systemd/sd-dhcp-client.h
+++ b/src/systemd/sd-dhcp-client.h
@@ -54,6 +54,7 @@ int sd_dhcp_client_get_address(sd_dhcp_client *client, struct in_addr *addr);
int sd_dhcp_client_get_netmask(sd_dhcp_client *client, struct in_addr *addr);
int sd_dhcp_client_prefixlen(const struct in_addr *addr);
int sd_dhcp_client_get_router(sd_dhcp_client *client, struct in_addr *addr);
+int sd_dhcp_client_get_dns(sd_dhcp_client *client, struct in_addr *addr);
int sd_dhcp_client_stop(sd_dhcp_client *client);
int sd_dhcp_client_start(sd_dhcp_client *client);