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:
Robert Love
2005-12-12 15:29:32 +00:00
committed by Robert Love
parent 0ac916c977
commit eb5eca7a16
2 changed files with 6 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
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).
2005-12-11 Dan Williams <dcbw@redhat.com>
* gnome/applet/wso-*

View File

@@ -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:");