summaryrefslogtreecommitdiff
path: root/src/network/networkd-network.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-07-22 13:11:20 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-07-22 21:28:20 +0900
commit50ee1fec3a7db383903ce9870239161bce908787 (patch)
treed1fc134113a5992526e7490503e206377f0e49eb /src/network/networkd-network.c
parent4397967f8ccaf50885eecfbc5df927613852de66 (diff)
downloadsystemd-50ee1fec3a7db383903ce9870239161bce908787.tar.gz
network: dhcp6: re-introduce RapidCommit= setting
Previous implementation of disabling rapid commit was broken, and dropped by 308d01f3c4decf3240ca0c6c7f91049953df7299. Let's re-introduce the option in the correct way, as some servers seem to return borked message when the solicit message contain the rapid commit option. Closes #24065.
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 e090a78023..4faa43b327 100644
--- a/src/network/networkd-network.c
+++ b/src/network/networkd-network.c
@@ -414,6 +414,7 @@ int network_load_one(Manager *manager, OrderedHashmap **networks, const char *fi
.dhcp6_use_dns = true,
.dhcp6_use_hostname = true,
.dhcp6_use_ntp = true,
+ .dhcp6_use_rapid_commit = true,
.dhcp6_duid.type = _DUID_TYPE_INVALID,
.dhcp6_client_start_mode = _DHCP6_CLIENT_START_MODE_INVALID,