author | mickeyl <mickeyl> | 2003-05-05 22:25:58 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-05-05 22:25:58 (UTC) |
commit | 3f8c29b3cbbb32864694fe9c95b43d1cb777360e (patch) (side-by-side diff) | |
tree | dd749f9d27bfb8c9ad02bea8545fecba33555a67 | |
parent | 3b193b852133a82b5c1708b68a7e460c63629768 (diff) | |
download | opie-3f8c29b3cbbb32864694fe9c95b43d1cb777360e.zip opie-3f8c29b3cbbb32864694fe9c95b43d1cb777360e.tar.gz opie-3f8c29b3cbbb32864694fe9c95b43d1cb777360e.tar.bz2 |
fix typos
-rw-r--r-- | libopie2/examples/opienet/miniwellenreiter/miniwellenreiter.cpp | 2 | ||||
-rw-r--r-- | libopie2/opienet/opcap.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libopie2/examples/opienet/miniwellenreiter/miniwellenreiter.cpp b/libopie2/examples/opienet/miniwellenreiter/miniwellenreiter.cpp index 34d32d2..c49daa0 100644 --- a/libopie2/examples/opienet/miniwellenreiter/miniwellenreiter.cpp +++ b/libopie2/examples/opienet/miniwellenreiter/miniwellenreiter.cpp @@ -90,33 +90,33 @@ public: wiface->setPromiscuousMode( true ); if ( !wiface->promiscuousMode() ) { printf( "failed (%s). Exiting.\n", strerror( errno ) ); exit( -1 ); } else { printf( "ok.\n" ); } } else printf( "Interface status is already promisc - good.\n" ); // connect a monitoring strategy to the interface if ( driver == "orinoco" ) - new OOrinocoMonitoringInterface( wiface ); + new OOrinocoMonitoringInterface( wiface, false ); else { printf( "Unknown driver. Exiting\n" ); exit( -1 ); } // enable monitoring mode printf( "Enabling monitor mode...\n" ); //wiface->setMonitorMode( true ); // open a packet capturer cap = new OPacketCapturer(); cap->open( interface ); if ( !cap->isOpen() ) { printf( "Unable to open libpcap (%s). Exiting.\n", strerror( errno ) ); diff --git a/libopie2/opienet/opcap.cpp b/libopie2/opienet/opcap.cpp index f6d05ea..523be3e 100644 --- a/libopie2/opienet/opcap.cpp +++ b/libopie2/opienet/opcap.cpp @@ -793,33 +793,33 @@ OLLCPacket::OLLCPacket( const unsigned char* end, const struct ieee_802_11_802_2 } } } OLLCPacket::~OLLCPacket() { } /*====================================================================================== * OWaveLanControlPacket *======================================================================================*/ OWaveLanControlPacket::OWaveLanControlPacket( const unsigned char* end, const struct ieee_802_11_control_header* data, OWaveLanPacket* parent ) - :QObject( parent, "802.11 Data" ), _header( data ) + :QObject( parent, "802.11 Control" ), _header( data ) { qDebug( "OWaveLanControlPacket::OWaveLanDataControl(): decoding frame..." ); //TODO: Implement this } OWaveLanControlPacket::~OWaveLanControlPacket() { } /*====================================================================================== * OPacketCapturer *======================================================================================*/ OPacketCapturer::OPacketCapturer( QObject* parent, const char* name ) |