Blob Blame History Raw
From 86490fbb1d5dce0cd1cff5479907cc7222afcf74 Mon Sep 17 00:00:00 2001
From: Francesco Giudici <fgiudici@redhat.com>
Date: Wed, 16 Nov 2016 18:13:55 +0100
Subject: [PATCH] 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)
---
 libnm-core/nm-setting-ip-config.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libnm-core/nm-setting-ip-config.c b/libnm-core/nm-setting-ip-config.c
index 55ad7bb..39a4c63 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));
 
 	/**
-- 
2.9.3