2008-03-11 Dan Williams <dcbw@redhat.com>

* src/NetworkManagerPolicy.c
		- (update_routing_and_dns): don't change anything if the default device
			hasn't changed; print something out when switching the default route
			and DNS



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3419 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2008-03-11 16:42:00 +00:00
parent cc2675ebb1
commit 60da632512
2 changed files with 12 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2008-03-11 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerPolicy.c
- (update_routing_and_dns): don't change anything if the default device
hasn't changed; print something out when switching the default route
and DNS
2008-03-10 Tambet Ingo <tambet@gmail.com>
Implement PPPoE.
@ -28,6 +35,7 @@
* introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
username and password.
>>>>>>> .r3418
2008-03-10 Dan Williams <dcbw@redhat.com>
* src/nm-device.c

View file

@ -133,9 +133,12 @@ update_routing_and_dns (NMPolicy *policy)
}
}
if (!best)
if (!best || (best == policy->default_device))
goto out;
nm_info ("Policy (%s) now the default device for routing and DNS.",
nm_device_get_iface (best));
update_default_route (policy, best);
named_mgr = nm_named_manager_get ();