summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco Giudici <fgiudici@redhat.com>2016-11-16 18:13:55 +0100
committerFrancesco Giudici <fgiudici@redhat.com>2017-02-06 17:56:40 +0100
commit4a6a791e24908c355473043a7b9f62679c7de08a (patch)
treeefa01d7c055752416d5cdb1b6070f873a043b363
parent7dcf09e573516ac2cafc2873f94b6f7d22a37cb8 (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 (cherry picked from commit 0ce7da1e22abf7a4415ef40fca9f1755b8ddfa30)
-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 55ad7bb0c..39a4c63f4 100644
--- a/libnm-core/nm-setting-ip-config.c
+++ b/libnm-core/nm-setting-ip-config.c
@@ -2879,7 +2879,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));
/**