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.

Signed-off-by: Brian 'Redbeard' Harrington <redbe...@dead-city.org>
---
 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@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to