summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-network.c
diff options
context:
space:
mode:
authorVinnie Magro <v@vinn.ie>2021-01-29 01:24:34 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-02-11 05:30:04 +0100
commitf963f8953daeab03b892616ce0c65f7572932187 (patch)
tree61a1e2af6658b8d58fc4f2d7583d1c231255e5a9 /src/network/networkd-network.c
parentMerge pull request #17823 from poettering/resolved-just-bypass (diff)
downloadsystemd-f963f8953daeab03b892616ce0c65f7572932187.tar.xz
systemd-f963f8953daeab03b892616ce0c65f7572932187.zip
networkd: add UseFQDN option for DHCPv6
Similar to DHCPv4's UseHostname option, add a UseFQDN config option in [DHCPv6] to set the system's transient hostname if the FQDN option is set in the DHCPv6 response from the server.
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 84ab1d5e18..69cf95fede 100644
--- a/src/network/networkd-network.c
+++ b/src/network/networkd-network.c
@@ -374,6 +374,7 @@ int network_load_one(Manager *manager, OrderedHashmap **networks, const char *fi
.dhcp6_use_address = true,
.dhcp6_use_dns = true,
+ .dhcp6_use_fqdn = true,
.dhcp6_use_ntp = true,
.dhcp6_rapid_commit = true,
.dhcp6_route_metric = DHCP_ROUTE_METRIC,