mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-07 00:31:11 +00:00
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:
parent
cc2675ebb1
commit
60da632512
|
@ -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
|
||||
|
|
|
@ -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 ();
|
||||
|
|
Loading…
Reference in a new issue