diff options
author | Thomas Haller <thaller@redhat.com> | 2016-04-25 16:14:41 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-04-25 16:52:34 +0200 |
commit | bad9becf99670f4c6a1e9491a7d8d47a080d9a85 (patch) | |
tree | 2906f8f17b91022f570d715c612dd781eed36f19 | |
parent | a57227914e1bb6f60058c9cbd1a33ba12401f8e3 (diff) | |
download | NetworkManager-bad9becf99670f4c6a1e9491a7d8d47a080d9a85.tar.gz |
libnm/doc: fix documentation of NMSettingIP6Config:addr-gen-mode
The value cannot be unset. It must be set to one of the two currently
supported values.
-rw-r--r-- | libnm-core/nm-setting-ip6-config.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libnm-core/nm-setting-ip6-config.c b/libnm-core/nm-setting-ip6-config.c index bab8c535c7..1f0b11fc98 100644 --- a/libnm-core/nm-setting-ip6-config.c +++ b/libnm-core/nm-setting-ip6-config.c @@ -601,7 +601,7 @@ nm_setting_ip6_config_class_init (NMSettingIP6ConfigClass *ip6_class) * * Configure method for creating the address for use with RFC4862 IPv6 * Stateless Address Autoconfiguration. The permitted values are: "eui64", - * "stable-privacy" or unset. + * or "stable-privacy". * * If the property is set to "eui64", the addresses will be generated * using the interface tokens derived from hardware address. This makes @@ -616,8 +616,10 @@ nm_setting_ip6_config_class_init (NMSettingIP6ConfigClass *ip6_class) * and makes the address stable when the network interface hardware is * replaced. * - * Leaving this unset causes a default that could be subject to change - * in future versions to be used. + * On D-Bus, the absence of an addr-gen-mode setting equals enabling + * "stable-privacy". For keyfile plugin, the absence of the setting + * on disk means "eui64" so that the property doesn't change on upgrade + * from older versions. * * Note that this setting is distinct from the Privacy Extensions as * configured by "ip6-privacy" property and it does not affect the |