From 62a78639797244ef49f439ba2d8bd3332d31585b Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 14 Feb 2018 17:01:56 +0100 Subject: dhcp: add support for special ipv4.dhcp-client-id types "mac", "perm-mac", and "stable" --- libnm-core/nm-setting-connection.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'libnm-core/nm-setting-connection.c') 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 -- cgit v1.2.1