mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00
Add support for 802.11 A-MSDU aggregates
This commit is contained in:
parent
5b1c6216bd
commit
2d05beac06
8 changed files with 127 additions and 9 deletions
|
@ -3,6 +3,7 @@
|
|||
#include "zeek/TunnelEncapsulation.h"
|
||||
|
||||
#include "zeek/Conn.h"
|
||||
#include "zeek/Reporter.h"
|
||||
#include "zeek/util.h"
|
||||
|
||||
namespace zeek
|
||||
|
@ -56,4 +57,15 @@ bool operator==(const EncapsulationStack& e1, const EncapsulationStack& e2)
|
|||
return true;
|
||||
}
|
||||
|
||||
void EncapsulationStack::Pop()
|
||||
{
|
||||
if ( Depth() == 0 )
|
||||
{
|
||||
reporter->InternalWarning("Attempted to pop from empty EncapsulationStack\n");
|
||||
return;
|
||||
}
|
||||
|
||||
conns->pop_back();
|
||||
}
|
||||
|
||||
} // namespace zeek
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue