From b46cf443c05cf385cbec6e4accd9cab1a5a3a74d Mon Sep 17 00:00:00 2001 From: Radek Vykydal Date: Tue, 11 Jan 2011 09:53:48 -0600 Subject: [PATCH] ifcfg-rh: respect GATEWAYDEV for ibft/iSCSI configs too (rh #665027) --- system-settings/plugins/ifcfg-rh/reader.c | 1 + 1 file changed, 1 insertion(+) diff --git a/system-settings/plugins/ifcfg-rh/reader.c b/system-settings/plugins/ifcfg-rh/reader.c index b4ee1307b9..5b01417cb2 100644 --- a/system-settings/plugins/ifcfg-rh/reader.c +++ b/system-settings/plugins/ifcfg-rh/reader.c @@ -1162,6 +1162,7 @@ make_ip4_setting (shvarFile *ifcfg, if (!g_ascii_strcasecmp (value, "bootp") || !g_ascii_strcasecmp (value, "dhcp")) method = NM_SETTING_IP4_CONFIG_METHOD_AUTO; else if (!g_ascii_strcasecmp (value, "ibft")) { + g_object_set (s_ip4, NM_SETTING_IP4_CONFIG_NEVER_DEFAULT, never_default, NULL); /* iSCSI Boot Firmware Table: need to read values from the iSCSI * firmware for this device and create the IP4 setting using those. */