[systemd-devel] [PATCH] man: typos in systemd-network.xml regarding DHCP

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Sat Jan 31 20:37:13 PST 2015


On Sat, Jan 31, 2015 at 04:16:12PM -0800, Brian Redbeard wrote:
> In the systemd documentation for systemd.network units the
> [Network] section notes that for the option DHCP=:
> 
> DHCP=
> Enables DHCPv4 and/or DHCPv6 support. Accepts "yes", "no", "ipv4"
> or "ipv6".
> 
> In testing the options ipv4 and ipv6 are actually implemented as
> v4 and v6.  Additionally on the same page in Example 2 the sample is
> give:
> 
> [Network]
> DHCP=both
> 
> which is not referenced in the above option.
> 
Frankly, I'm not sure if the man page should be changed to match the code or the
other way around.

Zbyszek

> ---
>  man/systemd.network.xml | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/man/systemd.network.xml b/man/systemd.network.xml
> index c072f08..59bee9c 100644
> --- a/man/systemd.network.xml
> +++ b/man/systemd.network.xml
> @@ -220,8 +220,8 @@
>                                          <term><varname>DHCP=</varname></term>
>                                          <listitem>
>                                                  <para>Enables DHCPv4 and/or DHCPv6 support. Accepts
> -                                                <literal>yes</literal>, <literal>no</literal>,
> -                                                <literal>ipv4</literal> or <literal>ipv6</literal>.</para>
> +                                                <literal>yes</literal>, <literal>no</literal>, <literal>both</literal>,
> +                                                <literal>v4</literal> or <literal>v6</literal>.</para>
>                                          </listitem>
>                                  </varlistentry>
>                                  <varlistentry>
> -- 
> 1.9.3
> 
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel


More information about the systemd-devel mailing list