On Sat, 31.01.15 16:16, Brian Redbeard (redbe...@dead-city.org) 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.
This is due to a recent change: cb9fc36a1211967e8c58b0502a26c42552ac8060 Basically, the intention here is that options like this work as "per-address-family booleans". i.e. they primarily parse as booleans, but you can also assign them the special value "ipv4" and "ipv6", which turns them on only for one of the two address families. The old names for the options are still accepted for compat, but we only document the new names, to make people use only the new names. Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel