[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdeadmin/knetworkconf/knetworkconf
From:       Jonathan Riddell <jr () jriddell ! org>
Date:       2006-05-30 0:29:02
Message-ID: 1148948942.256592.12448.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 546424 by jriddell:

fix problem where interface
    without IP address was considered as down/disabled and therefore
    preventing it do be enabled with ifup

https://launchpad.net/distros/ubuntu/+source/kdeadmin/+bug/38578

Patch by Luka Renko


 M  +0 -6      knetworkconfigparser.cpp  


--- branches/KDE/3.5/kdeadmin/knetworkconf/knetworkconf/knetworkconfigparser.cpp #546423:546424
@@ -760,12 +760,6 @@
       tempDevice->setDescription(i18n("Wireless Network Device"));
   }
 
-  //If the backend reports that the interface is up (even if it isn't true),
-  //and the interface doesn't have an IP address assgined it means that effectively
-  //the interface is down and should be marked as inactive.
-  if (tempDevice->isActive() && tempDevice->getIpAddress().isEmpty())
-    tempDevice->setActive(false);
-    
   //Clear IP address settings if boot protocol is dhcp or bootp, in case that they are
   //setted in the config files.
   if ((tempDevice->getBootProto().lower() == "dhcp") || (tempDevice->getBootProto().lower() == "bootp"))
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic