https://bugzilla.novell.com/show_bug.cgi?id=557720
https://bugzilla.novell.com/show_bug.cgi?id=557720#c8
--- Comment #8 from Li Bin 2011-05-20 07:31:00 UTC ---
The upstream already fixed this issue. Set the default value to true.
commit 9f28308460ea5ab55db9b59690bf95fcd096c1bb
Author: Jiří Klimeš
Date: Tue Feb 1 16:47:04 2011 +0100
libnm-util: make NM_SETTING_IP4_CONFIG_DHCP_SEND_HOSTNAME property TRUE by
default (rh #488975)
That lets NM send a hostname to DHCP server without requiring the user
editing the parameter manually (there no GUI for this either).
diff --git a/libnm-util/nm-setting-ip4-config.c
b/libnm-util/nm-setting-ip4-config.c
index 186e41e..ec8de7c 100644
--- a/libnm-util/nm-setting-ip4-config.c
+++ b/libnm-util/nm-setting-ip4-config.c
@@ -950,7 +950,7 @@ nm_setting_ip4_config_class_init (NMSettingIP4ConfigClass
*setting_class)
"the 'dhcp-hostname'
property is empty and this "
"property is TRUE, the
current persistent hostname "
"of the computer is sent",
- FALSE,
+ TRUE,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT | NM_SETTING_PARAM_SERIALIZE));
/**
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.