mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
all: Fix typos identified by typos pre-commit hook
This commit is contained in:
parent
260c868f26
commit
7a043e5e8f
57 changed files with 80 additions and 80 deletions
|
@ -41,7 +41,7 @@ bool IEEE802_11Analyzer::AnalyzePacket(size_t len, const uint8_t* data, Packet*
|
|||
if ( (fc_80211 >> 4) & 0x08 )
|
||||
{
|
||||
// Store off whether this is an A-MSDU header, which indicates that there are
|
||||
// mulitple packets following the 802.11 header.
|
||||
// multiple packets following the 802.11 header.
|
||||
is_amsdu = (data[len_80211] & 0x80) == 0x80;
|
||||
|
||||
// Check for the protected bit. This means the data is encrypted and we can't
|
||||
|
|
|
@ -87,7 +87,7 @@ bool IPAnalyzer::AnalyzePacket(size_t len, const uint8_t* data, Packet* packet)
|
|||
total_len = packet->cap_len - hdr_size;
|
||||
else
|
||||
// If this is caused by segmentation offloading, the checksum will
|
||||
// also be incorrect. If checksum validation is enabled - jus tbail here.
|
||||
// also be incorrect. If checksum validation is enabled - just bail here.
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -1356,7 +1356,7 @@ void TCPSessionAdapter::ConnectionClosed(analyzer::tcp::TCP_Endpoint* endpoint,
|
|||
const analyzer::analyzer_list& children(GetChildren());
|
||||
LOOP_OVER_CONST_CHILDREN(i)
|
||||
// Using this type of cast here is nasty (will crash if
|
||||
// we inadvertantly have a child analyzer that's not a
|
||||
// we inadvertently have a child analyzer that's not a
|
||||
// TCP_ApplicationAnalyzer), but we have to ...
|
||||
static_cast<analyzer::tcp::TCP_ApplicationAnalyzer*>(*i)->ConnectionClosed(endpoint, peer,
|
||||
gen_event);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue