2005-12-12 Robert Love <rml@novell.com>
* src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not return any name servers. That is perfectly valid. (Novell #134369). git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1166 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -507,9 +507,7 @@ NMIP4Config * nm_dhcp_manager_get_ip4_config (NMDHCPManager *manager, NMActReque
|
||||
goto out;
|
||||
}
|
||||
|
||||
if (!get_ip4_uint32s (manager, dev, "domain_name_servers", &ip4_nameservers, &num_ip4_nameservers) || !num_ip4_nameservers)
|
||||
goto out;
|
||||
|
||||
get_ip4_uint32s (manager, dev, "domain_name_servers", &ip4_nameservers, &num_ip4_nameservers);
|
||||
get_ip4_string (manager, dev, "domain_name", &domain_names);
|
||||
|
||||
nm_info ("Retrieved the following IP4 configuration from the DHCP daemon:");
|
||||
|
Reference in New Issue
Block a user