diff options
author | Mathias Lang <mlang@symmetryinvestments.com> | 2024-04-25 12:29:53 +0200 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2024-04-27 12:55:12 +0200 |
commit | 07b6924de4d83c0d66ddfe92d3f2df4995e1e087 (patch) | |
tree | 3ebbf8437311fd716c8911286c377925c8ce4dd0 /man/systemd.network.xml | |
parent | po: Translated using Weblate (Polish) (diff) | |
download | systemd-07b6924de4d83c0d66ddfe92d3f2df4995e1e087.tar.xz systemd-07b6924de4d83c0d66ddfe92d3f2df4995e1e087.zip |
networkd: Correct documentation for LinkLocalAddressing
LinkLocalAddressing accepts a boolean. This can be seen by looking at
`link_local_address_family_from_strong(cont char *s)` in
`src/network/netword-util.c#L102-108` which falls back to
`address_family_from_string`, defined two lines above (L100)
using `DEFINE_STRING_TABLE_LOOKUP_WITH_BOOLEAN`.
Diffstat (limited to '')
-rw-r--r-- | man/systemd.network.xml | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/man/systemd.network.xml b/man/systemd.network.xml index a84fc3d5c8..9c41b24f80 100644 --- a/man/systemd.network.xml +++ b/man/systemd.network.xml @@ -444,13 +444,12 @@ <varlistentry> <term><varname>LinkLocalAddressing=</varname></term> <listitem> - <para>Enables link-local address autoconfiguration. Accepts <option>yes</option>, - <option>no</option>, <option>ipv4</option>, and <option>ipv6</option>. An IPv6 link-local - address is configured when <option>yes</option> or <option>ipv6</option>. An IPv4 link-local - address is configured when <option>yes</option> or <option>ipv4</option> and when DHCPv4 - autoconfiguration has been unsuccessful for some time. (IPv4 link-local address - autoconfiguration will usually happen in parallel with repeated attempts to acquire a DHCPv4 - lease).</para> + <para>Enables link-local address autoconfiguration. Accepts a boolean, <option>ipv4</option>, + and <option>ipv6</option>. An IPv6 link-local address is configured when <option>yes</option> + or <option>ipv6</option>. An IPv4 link-local address is configured when <option>yes</option> + or <option>ipv4</option> and when DHCPv4 autoconfiguration has been unsuccessful for some time. + (IPv4 link-local address autoconfiguration will usually happen in parallel with repeated attempts + to acquire a DHCPv4 lease).</para> <para>Defaults to <option>no</option> when <varname>KeepMaster=</varname> or <varname>Bridge=</varname> is set or when the specified |