summaryrefslogtreecommitdiff
path: root/src/network/networkd-network.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-01-13 23:48:28 +0100
committerTom Gundersen <teg@jklm.no>2014-01-16 20:32:08 +0100
commit1346b1f0388f4100bb3c2a2bb23bc881769c020c (patch)
tree2e6aa6dc4d2a834156bb082408e9220018c039f6 /src/network/networkd-network.c
parent6fc73498945da749744041d4e10cf8dfac5c3bc6 (diff)
sd-dhcp-client/networkd: add transient hostname support
Diffstat (limited to 'src/network/networkd-network.c')
-rw-r--r--src/network/networkd-network.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c
index 02ffdb1a72..ff54423221 100644
--- a/src/network/networkd-network.c
+++ b/src/network/networkd-network.c
@@ -67,6 +67,7 @@ static int network_load_one(Manager *manager, const char *filename) {
network->dhcp_dns = true;
network->dhcp_mtu = true;
+ network->dhcp_hostname = true;
r = config_parse(NULL, filename, file, "Match\0Network\0Address\0Route\0DHCPv4\0", config_item_perf_lookup,
(void*) network_gperf_lookup, false, false, network);