From 82e2eeeb2a20bf14e2ac52c25d0e5fdfedacedb3 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Tue, 14 Nov 2023 11:03:26 +0100 Subject: [PATCH] libnm/docs: clarify default `ipv4.dhcp-client-id` generated by nettools/internal DHCP plugin --- src/libnm-core-impl/nm-setting-ip4-config.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/libnm-core-impl/nm-setting-ip4-config.c b/src/libnm-core-impl/nm-setting-ip4-config.c index e4914d024..e6a5482d0 100644 --- a/src/libnm-core-impl/nm-setting-ip4-config.c +++ b/src/libnm-core-impl/nm-setting-ip4-config.c @@ -893,10 +893,11 @@ nm_setting_ip4_config_class_init(NMSettingIP4ConfigClass *klass) * The special value "none" prevents any client identifier from being sent. Note that * this is normally not recommended. * - * If unset, a globally configured default from NetworkManager.conf is used. If still - * unset, the default depends on the DHCP plugin. The internal dhcp client will - * generate a default value and the dhclient plugin will try to use one from its - * config file if present, or won't sent any client-id otherwise. + * If unset, a globally configured default from NetworkManager.conf is + * used. If still unset, the default depends on the DHCP plugin. The + * internal dhcp client will default to "mac" and the dhclient plugin will + * try to use one from its config file if present, or won't sent any + * client-id otherwise. **/ /* ---nmcli--- * property: dhcp-client-id