-rw-r--r-- | noncore/net/wellenreiter/gui/wellenreiter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.cpp b/noncore/net/wellenreiter/gui/wellenreiter.cpp index 60bf231..365efb0 100644 --- a/noncore/net/wellenreiter/gui/wellenreiter.cpp +++ b/noncore/net/wellenreiter/gui/wellenreiter.cpp @@ -393,5 +393,5 @@ void Wellenreiter::stopClicked() { // switch off monitor mode - iface->setMonitorMode( false ); + iface->setMode( "managed" ); // switch off promisc flag iface->setPromiscuousMode( false ); @@ -477,6 +477,6 @@ void Wellenreiter::startClicked() { if ( cardtype != DEVTYPE_MANUAL ) - iface->setMonitorMode( true ); - if ( !iface->monitorMode() ) + iface->setMode( "monitor" ); + if ( iface->mode() != "monitor" ) { if ( QMessageBox::warning( this, "Wellenreiter II", |