-rw-r--r-- | noncore/net/wellenreiter/gui/wellenreiter.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.cpp b/noncore/net/wellenreiter/gui/wellenreiter.cpp index e8d9de7..c8d77a7 100644 --- a/noncore/net/wellenreiter/gui/wellenreiter.cpp +++ b/noncore/net/wellenreiter/gui/wellenreiter.cpp @@ -518,6 +518,9 @@ void Wellenreiter::startClicked() // TODO: check if interface is wireless and support sniffing for non-wireless interfaces + if ( cardtype != DEVTYPE_FILE ) + { + if ( !net->isPresent( interface ) ) { QMessageBox::information( this, "Wellenreiter II", @@ -529,8 +532,6 @@ void Wellenreiter::startClicked() assert( iface ); // bring device UP - if ( cardtype != DEVTYPE_FILE ) - { iface->setUp( true ); if ( !iface->isUp() ) { |