Diffstat (limited to 'noncore/net/wellenreiter/gui/wellenreiter.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/wellenreiter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.cpp b/noncore/net/wellenreiter/gui/wellenreiter.cpp index 12b3978..fe8f22d 100644 --- a/noncore/net/wellenreiter/gui/wellenreiter.cpp +++ b/noncore/net/wellenreiter/gui/wellenreiter.cpp | |||
@@ -392,49 +392,49 @@ bool Wellenreiter::checkDumpPacket( OPacket* p ) | |||
392 | { | 392 | { |
393 | QString name = it.current()->name(); | 393 | QString name = it.current()->name(); |
394 | if ( configwindow->capturePackets->isProtocolChecked( name ) ) | 394 | if ( configwindow->capturePackets->isProtocolChecked( name ) ) |
395 | { | 395 | { |
396 | QString action = configwindow->capturePackets->protocolAction( name ); | 396 | QString action = configwindow->capturePackets->protocolAction( name ); |
397 | odebug << "capturePackets-action for '" << (const char*) name << "' seems to be '" << action << "'" << oendl; | 397 | odebug << "capturePackets-action for '" << (const char*) name << "' seems to be '" << action << "'" << oendl; |
398 | if ( action == "Discard" ) | 398 | if ( action == "Discard" ) |
399 | { | 399 | { |
400 | logwindow->log( QString().sprintf( "(i) dump-discarding of '%s' packet requested.", (const char*) name ) ); | 400 | logwindow->log( QString().sprintf( "(i) dump-discarding of '%s' packet requested.", (const char*) name ) ); |
401 | return false; | 401 | return false; |
402 | } | 402 | } |
403 | } | 403 | } |
404 | else | 404 | else |
405 | { | 405 | { |
406 | odebug << "protocol '" << name << "' not checked in capturePackets." << oendl; | 406 | odebug << "protocol '" << name << "' not checked in capturePackets." << oendl; |
407 | } | 407 | } |
408 | ++it; | 408 | ++it; |
409 | } | 409 | } |
410 | return true; | 410 | return true; |
411 | } | 411 | } |
412 | 412 | ||
413 | 413 | ||
414 | void Wellenreiter::receivePacket( OPacket* p ) | 414 | void Wellenreiter::receivePacket( OPacket* p ) |
415 | { | 415 | { |
416 | hexWindow()->add( p ); | 416 | hexWindow()->add( p, configwindow->hexViewBuffer() ); |
417 | 417 | ||
418 | if ( checkDumpPacket( p ) ) | 418 | if ( checkDumpPacket( p ) ) |
419 | { | 419 | { |
420 | pcap->dump( p ); | 420 | pcap->dump( p ); |
421 | } | 421 | } |
422 | 422 | ||
423 | // check for a management frame | 423 | // check for a management frame |
424 | OWaveLanManagementPacket* manage = static_cast<OWaveLanManagementPacket*>( childIfToParse( p, "802.11 Management" ) ); | 424 | OWaveLanManagementPacket* manage = static_cast<OWaveLanManagementPacket*>( childIfToParse( p, "802.11 Management" ) ); |
425 | if ( manage ) | 425 | if ( manage ) |
426 | { | 426 | { |
427 | handleManagementFrame( p, manage ); | 427 | handleManagementFrame( p, manage ); |
428 | return; | 428 | return; |
429 | } | 429 | } |
430 | 430 | ||
431 | // check for a control frame | 431 | // check for a control frame |
432 | OWaveLanControlPacket* control = static_cast<OWaveLanControlPacket*>( childIfToParse( p, "802.11 Control" ) ); | 432 | OWaveLanControlPacket* control = static_cast<OWaveLanControlPacket*>( childIfToParse( p, "802.11 Control" ) ); |
433 | if ( control ) | 433 | if ( control ) |
434 | { | 434 | { |
435 | handleControlFrame( p, control ); | 435 | handleControlFrame( p, control ); |
436 | return; | 436 | return; |
437 | } | 437 | } |
438 | 438 | ||
439 | OMacAddress source; | 439 | OMacAddress source; |
440 | OMacAddress dest; | 440 | OMacAddress dest; |