diff options
author | Alex Henrie <alexh@vpitech.com> | 2022-05-06 14:01:53 -0600 |
---|---|---|
committer | Alex Henrie <alexh@vpitech.com> | 2022-05-06 14:01:53 -0600 |
commit | 0bcc6557fbba32ebcdf323e76688ced50e3c8d8e (patch) | |
tree | 81c6a7e7d1869bcd03c9159fd58de72126251dd0 /src/network/networkd-dhcp6.c | |
parent | ad11dd94fd942b8f7531ed6420418d998fc3d34f (diff) | |
download | systemd-0bcc6557fbba32ebcdf323e76688ced50e3c8d8e.tar.gz |
network: clarify the relationship between RA flags and DHCPv6 modes
In the documentation, using the term "managed" for both the RA flag and
the DHCPv6 mode is confusing because the mode is referred to as
"solicit" both in the official DHCPv6 documentation (see RFC 8415) and
in the WithoutRA option.
Furthermore, calling the other RA flag "other information" or "other
address configuration" is confusing because its official name is simply
"other configuration" (see RFC 4861 and RFC 5175) and it isn't used to
assign IP addresses.
Rewrite the documentation for DHCPv6Client and WithoutRA to make it
clear that getting the "managed" RA flag triggers the same kind of DHCP
request as WithoutRA=solicit, whereas getting the "other configuration"
RA flag triggers the same kind of DHCP request as
WithoutRA=information-request.
Diffstat (limited to 'src/network/networkd-dhcp6.c')
-rw-r--r-- | src/network/networkd-dhcp6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-dhcp6.c b/src/network/networkd-dhcp6.c index 16014dbaff..5786eca803 100644 --- a/src/network/networkd-dhcp6.c +++ b/src/network/networkd-dhcp6.c @@ -35,7 +35,7 @@ static DHCP6ClientStartMode link_get_dhcp6_client_start_mode(Link *link) { if (link->network->dhcp6_client_start_mode >= 0) return link->network->dhcp6_client_start_mode; - /* When this interface itself is an uplink interface, then start dhcp6 client in managed mode. */ + /* When this interface itself is an uplink interface, then start dhcp6 client in solicit mode. */ if (dhcp_pd_is_uplink(link, link, /* accept_auto = */ false)) return DHCP6_CLIENT_START_MODE_SOLICIT; @@ -686,7 +686,7 @@ static int dhcp6_configure(Link *link) { return log_link_debug_errno(link, r, "DHCPv6 CLIENT: Failed to %s requesting prefixes to be delegated: %m", enable_disable(link->network->dhcp6_use_pd_prefix)); - /* Even if UseAddress=no, we need to request IA_NA, as the dhcp6 client may be started in managed mode. */ + /* Even if UseAddress=no, we need to request IA_NA, as the dhcp6 client may be started in solicit mode. */ r = sd_dhcp6_client_set_address_request(client, link->network->dhcp6_use_pd_prefix ? link->network->dhcp6_use_address : true); if (r < 0) return log_link_debug_errno(link, r, "DHCPv6 CLIENT: Failed to %s requesting address: %m", |