summaryrefslogtreecommitdiff
path: root/libopie2/opienet/ostation.cpp
Unidiff
Diffstat (limited to 'libopie2/opienet/ostation.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opienet/ostation.cpp15
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
@@ -29,21 +29,36 @@
29 29
30*/ 30*/
31 31
32#include <opie2/ostation.h> 32#include <opie2/ostation.h>
33 33
34/*====================================================================================== 34/*======================================================================================
35 * OStation 35 * OStation
36 *======================================================================================*/ 36 *======================================================================================*/
37 37
38OStation::OStation() 38OStation::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
44OStation::~OStation() 51OStation::~OStation()
45{ 52{
46 qDebug( "OStation::~OStation()" ); 53 qDebug( "OStation::~OStation()" );
47} 54}
48 55
49 56
57void 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}