summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/dhcp-lease-internal.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-04-29 12:17:27 +0200
committerTom Gundersen <teg@jklm.no>2014-04-29 12:25:58 +0200
commit4684469639d0893d78fc8e1a1966ce11eb9c7e31 (patch)
tree415d38db50452f2664a3dc1af80b19cc7734c2c0 /src/libsystemd-network/dhcp-lease-internal.h
parent39594d49cf22d022bf370d6534c07186e9d8fb8a (diff)
sd-dhcp-lease: add NTP support
Export the NTP servers so timesyncd can use them.
Diffstat (limited to 'src/libsystemd-network/dhcp-lease-internal.h')
-rw-r--r--src/libsystemd-network/dhcp-lease-internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsystemd-network/dhcp-lease-internal.h b/src/libsystemd-network/dhcp-lease-internal.h
index e478902e0e..ba2fd73b45 100644
--- a/src/libsystemd-network/dhcp-lease-internal.h
+++ b/src/libsystemd-network/dhcp-lease-internal.h
@@ -44,6 +44,8 @@ struct sd_dhcp_lease {
be32_t next_server;
struct in_addr *dns;
size_t dns_size;
+ struct in_addr *ntp;
+ size_t ntp_size;
uint16_t mtu;
char *domainname;
char *hostname;