summaryrefslogtreecommitdiff
path: root/libnm-core/nm-setting-connection.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-02-14 17:01:56 +0100
committerThomas Haller <thaller@redhat.com>2018-02-15 16:24:28 +0100
commit62a78639797244ef49f439ba2d8bd3332d31585b (patch)
treef00beb5995e19aef32f45fae87a56d47d4034962 /libnm-core/nm-setting-connection.c
parentf5bedd3655140e51020de720db576045281413be (diff)
downloadNetworkManager-62a78639797244ef49f439ba2d8bd3332d31585b.tar.gz
dhcp: add support for special ipv4.dhcp-client-id types "mac", "perm-mac", and "stable"
Diffstat (limited to 'libnm-core/nm-setting-connection.c')
-rw-r--r--libnm-core/nm-setting-connection.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/libnm-core/nm-setting-connection.c b/libnm-core/nm-setting-connection.c
index 470209a176..e02fad35a1 100644
--- a/libnm-core/nm-setting-connection.c
+++ b/libnm-core/nm-setting-connection.c
@@ -1541,10 +1541,12 @@ nm_setting_connection_class_init (NMSettingConnectionClass *setting_class)
* The stable-id is used for generating IPv6 stable private addresses
* with ipv6.addr-gen-mode=stable-privacy. It is also used to seed the
* generated cloned MAC address for ethernet.cloned-mac-address=stable
- * and wifi.cloned-mac-address=stable. Note that also the interface name
- * of the activating connection and a per-host secret key is included
- * into the address generation so that the same stable-id on different
- * hosts/devices yields different addresses.
+ * and wifi.cloned-mac-address=stable. It is also used as DHCP client
+ * identifier with ipv4.dhcp-client-id=stable.
+ *
+ * Note that also the interface name of the activating connection and a
+ * per-host secret key is included into the address generation so that the
+ * same stable-id on different hosts/devices yields different addresses.
*
* If the value is unset, an ID unique for the connection is used.
* Specifying a stable-id allows multiple connections to generate the