summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/dhcp-server-internal.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-08-27 14:48:37 +0200
committerLennart Poettering <lennart@poettering.net>2015-08-27 14:48:37 +0200
commit1a04db0fc9d08fffe80d6d7b5b60459295922b11 (patch)
treefacfacd2ca4ed5f1498db730b5dd32a82678631b /src/libsystemd-network/dhcp-server-internal.h
parentfc2f9534d07db2b185c02b1961428b53daf1986e (diff)
dhcp,network: support emitting DNS/NTP server information from DHCP server
For now, this is very simple and IP addresses have to be configured manually.
Diffstat (limited to 'src/libsystemd-network/dhcp-server-internal.h')
-rw-r--r--src/libsystemd-network/dhcp-server-internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libsystemd-network/dhcp-server-internal.h b/src/libsystemd-network/dhcp-server-internal.h
index 4f562c73ef..6cc794c937 100644
--- a/src/libsystemd-network/dhcp-server-internal.h
+++ b/src/libsystemd-network/dhcp-server-internal.h
@@ -63,6 +63,9 @@ struct sd_dhcp_server {
char *timezone;
+ struct in_addr *ntp, *dns;
+ unsigned n_ntp, n_dns;
+
Hashmap *leases_by_client_id;
DHCPLease **bound_leases;