summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/profile/profilerun.cpp
Side-by-side diff
Diffstat (limited to 'noncore/settings/networksettings2/profile/profilerun.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/profile/profilerun.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/noncore/settings/networksettings2/profile/profilerun.cpp b/noncore/settings/networksettings2/profile/profilerun.cpp
index acb67bd..48011ea 100644
--- a/noncore/settings/networksettings2/profile/profilerun.cpp
+++ b/noncore/settings/networksettings2/profile/profilerun.cpp
@@ -3,13 +3,17 @@
#include "profilerun.h"
State_t ProfileRun::detectState( void ) {
+ InterfaceInfo * II = networkSetup()->assignedInterface();
+
+ Log(( "Interface %p %p %p: %d\n", II,
+ netNode(), netNode()->networkSetup(), (II) ? II->IsUp : 0 ));
if( Data->Disabled ) {
return Disabled;
}
return Unknown;
}
-QString ProfileRun::setMyState( NodeCollection * NC, Action_t A, bool ) {
+QString ProfileRun::setMyState( NetworkSetup * NC, Action_t A, bool ) {
odebug << "Profile " << Data->Disabled << oendl;
if( A == Disable ) {
if( ! Data->Disabled ) {