summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/wellenreiter.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.cpp b/noncore/net/wellenreiter/gui/wellenreiter.cpp
index e294eb8..d80a6e6 100644
--- a/noncore/net/wellenreiter/gui/wellenreiter.cpp
+++ b/noncore/net/wellenreiter/gui/wellenreiter.cpp
@@ -198,6 +198,12 @@ void Wellenreiter::startStopClicked()
198 198
199 iface->setMonitorMode( true ); 199 iface->setMonitorMode( true );
200 200
201 if ( !iface->monitorMode() )
202 {
203 QMessageBox::warning( this, "Wellenreiter II", "Can't set device into monitor mode." );
204 return;
205 }
206
201 // open pcap and start sniffing 207 // open pcap and start sniffing
202 pcap->open( interface ); 208 pcap->open( interface );
203 209