summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco Giudici <fgiudici@redhat.com>2016-11-16 18:13:55 +0100
committerFrancesco Giudici <fgiudici@redhat.com>2016-11-23 09:13:35 +0100
commit0ce7da1e22abf7a4415ef40fca9f1755b8ddfa30 (patch)
tree35305f5e01f9b5097058cbecd37fe5ff976f6165
parente0c50a970378daf8f066c293c613276d322cc056 (diff)
libnm-core: remove INFERRABLE flag from dhcp-hostname property
When assuming a dhcp connection don't consider the DHCP "Host Name" Option (12) passed in the DHCP request for the match of the available connections. https://bugzilla.redhat.com/show_bug.cgi?id=1393997
-rw-r--r--libnm-core/nm-setting-ip-config.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libnm-core/nm-setting-ip-config.c b/libnm-core/nm-setting-ip-config.c
index ca1f9480c6..864b5a1256 100644
--- a/libnm-core/nm-setting-ip-config.c
+++ b/libnm-core/nm-setting-ip-config.c
@@ -2878,7 +2878,6 @@ nm_setting_ip_config_class_init (NMSettingIPConfigClass *setting_class)
g_param_spec_string (NM_SETTING_IP_CONFIG_DHCP_HOSTNAME, "", "",
NULL,
G_PARAM_READWRITE |
- NM_SETTING_PARAM_INFERRABLE |
G_PARAM_STATIC_STRINGS));
/**