Diffstat (limited to 'libopie2/opienet/ostation.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opienet/ostation.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libopie2/opienet/ostation.cpp b/libopie2/opienet/ostation.cpp index 3817b31..ba1e4f6 100644 --- a/libopie2/opienet/ostation.cpp +++ b/libopie2/opienet/ostation.cpp | |||
@@ -38,6 +38,13 @@ | |||
38 | OStation::OStation() | 38 | OStation::OStation() |
39 | { | 39 | { |
40 | qDebug( "OStation::OStation()" ); | 40 | qDebug( "OStation::OStation()" ); |
41 | |||
42 | type = "<unknown>"; | ||
43 | macAddress = OMacAddress::unknown; | ||
44 | ssid = "<unknown>"; | ||
45 | channel = 0; | ||
46 | apAddress = OMacAddress::unknown; | ||
47 | |||
41 | } | 48 | } |
42 | 49 | ||
43 | 50 | ||
@@ -47,3 +54,11 @@ OStation::~OStation() | |||
47 | } | 54 | } |
48 | 55 | ||
49 | 56 | ||
57 | void OStation::dump() | ||
58 | { | ||
59 | qDebug( "------- OStation::dump() ------------" ); | ||
60 | qDebug( "type: %s", (const char*) type ); | ||
61 | qDebug( "mac: %s", (const char*) macAddress.toString() ); | ||
62 | qDebug( "ap: %s", (const char*) apAddress.toString() ); | ||
63 | qDebug( "ip: %s", (const char*) ipAddress.toString() ); | ||
64 | } | ||