diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2016-11-22 08:36:20 +0100 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2016-11-23 17:05:10 +0100 |
commit | 7901cea1997c3881f3da93ecc5ad03e6de1e87b7 (patch) | |
tree | 43523f187f6f965c7a6dbf97617092cb6fe928d8 /src/network/networkd-manager.h | |
parent | 2c99aba7260a402e8f81d85aab12ce25d3d8786a (diff) |
networkd: set DHCP-acquired timezone and hostname after connecting to D-Bus
If setting the received timezone or transient hostname fails because D-Bus is
not (yet) up, store the data in the Manager object and try again after
connecting to D-Bus.
Diffstat (limited to 'src/network/networkd-manager.h')
-rw-r--r-- | src/network/networkd-manager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkd-manager.h b/src/network/networkd-manager.h index 13363c70fa..c81f5057b7 100644 --- a/src/network/networkd-manager.h +++ b/src/network/networkd-manager.h @@ -63,6 +63,8 @@ struct Manager { usec_t network_dirs_ts_usec; DUID duid; + char* dynamic_hostname; + char* dynamic_timezone; }; static inline const DUID* link_duid(const Link *link) { |