From: Mathias Lang Date: Thu, 25 Apr 2024 10:29:53 +0000 (+0200) Subject: networkd: Correct documentation for LinkLocalAddressing X-Git-Tag: v256-rc2~182 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07b6924de4d83c0d66ddfe92d3f2df4995e1e087;p=thirdparty%2Fsystemd.git 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`. --- diff --git a/man/systemd.network.xml b/man/systemd.network.xml index a84fc3d5c87..9c41b24f80a 100644 --- a/man/systemd.network.xml +++ b/man/systemd.network.xml @@ -444,13 +444,12 @@ LinkLocalAddressing= - Enables link-local address autoconfiguration. Accepts , - , , and . An IPv6 link-local - address is configured when or . An IPv4 link-local - address is configured when or 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). + Enables link-local address autoconfiguration. Accepts a boolean, , + and . An IPv6 link-local address is configured when + or . An IPv4 link-local address is configured when + or 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). Defaults to when KeepMaster= or Bridge= is set or when the specified