NetworkManager r3583 - in trunk: . src
- From: dcbw svn gnome org
- To: svn-commits-list gnome org
- Subject: NetworkManager r3583 - in trunk: . src
- Date: Tue, 22 Apr 2008 03:38:05 +0100 (BST)
Author: dcbw
Date: Tue Apr 22 02:38:05 2008
New Revision: 3583
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=3583&view=rev
Log:
2008-04-21 Dan Williams <dcbw redhat com>
* src/NetworkManagerPolicy.c
- (device_state_changed): update routing and DNS when a device goes
into unmanaged or unavailable states too (like rfkill or carrier loss)
Modified:
trunk/ChangeLog
trunk/src/NetworkManagerPolicy.c
Modified: trunk/src/NetworkManagerPolicy.c
==============================================================================
--- trunk/src/NetworkManagerPolicy.c (original)
+++ trunk/src/NetworkManagerPolicy.c Tue Apr 22 02:38:05 2008
@@ -321,6 +321,8 @@
update_routing_and_dns (policy, FALSE);
break;
+ case NM_DEVICE_STATE_UNMANAGED:
+ case NM_DEVICE_STATE_UNAVAILABLE:
case NM_DEVICE_STATE_DISCONNECTED:
update_routing_and_dns (policy, FALSE);
schedule_activate_check (policy, device);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]