2005-02-02 Dan Williams <dcbw@redhat.com>

* src/NetworkManagerDHCP.c
		- Hopefully fix double-default-route problem by cleaning up the default
			route added by DHCP code right before the DHCP transaction begins


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@405 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2005-02-02 19:30:10 +00:00
parent a74f5b2324
commit c1dea88b98
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2005-02-02 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerDHCP.c
- Hopefully fix double-default-route problem by cleaning up the default
route added by DHCP code right before the DHCP transaction begins
2005-02-02 Dan Williams <dcbw@redhat.com>
* named/nm-named-manager.c

View file

@ -121,6 +121,9 @@ static void nm_device_dhcp_configure (NMDevice *dev)
g_return_if_fail (dev != NULL);
g_return_if_fail (dev->dhcp_iface != NULL);
/* DHCP sets up a default route for the device, we need to remove that. */
nm_system_device_flush_routes (dev);
/* Replace basic info */
nm_system_device_set_ip4_address (dev, dev->dhcp_iface->ciaddr);