mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-14 17:00:45 +02:00
libnm-util: don't touch dhcp-send-hostname when setting dhcp-hostname (rh #1001529)
It is better to leave it to user whether he wants to enable sending hostname, because he probably disabled it manually (dhcp-send-hostname is TRUE by default). Also, this would not work for plugins that read and set dhcp-hostname after dhcp-send-hostname. https://bugzilla.redhat.com/show_bug.cgi?id=1001529
This commit is contained in:
parent
e299d7b30f
commit
98bcbd2d24
1 changed files with 0 additions and 3 deletions
|
|
@ -908,9 +908,6 @@ set_property (GObject *object, guint prop_id,
|
|||
case PROP_DHCP_HOSTNAME:
|
||||
g_free (priv->dhcp_hostname);
|
||||
priv->dhcp_hostname = g_value_dup_string (value);
|
||||
/* FIXME: Is this a good idea? */
|
||||
if (priv->dhcp_hostname)
|
||||
priv->dhcp_send_hostname = TRUE;
|
||||
break;
|
||||
case PROP_NEVER_DEFAULT:
|
||||
priv->never_default = g_value_get_boolean (value);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue