mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
A bit of MySQL cleanup - removed unused events, consolidated similar events, fixed up main.bro a bit
This commit is contained in:
parent
45d5080870
commit
e2ad93c543
6 changed files with 167 additions and 82 deletions
|
@ -159,14 +159,14 @@ type Client_Message(state: int) = case state of {
|
|||
# Handshake Request
|
||||
|
||||
type Initial_Handshake_Packet = record {
|
||||
protocol_version: uint8;
|
||||
pkt : case protocol_version of {
|
||||
version : uint8;
|
||||
pkt : case version of {
|
||||
10 -> handshake10 : Handshake_v10;
|
||||
9 -> handshake9 : Handshake_v9;
|
||||
default -> error : ERR_Packet;
|
||||
};
|
||||
} &let {
|
||||
set_version : bool = $context.connection.set_version(protocol_version);
|
||||
set_version : bool = $context.connection.set_version(version);
|
||||
};
|
||||
|
||||
type Handshake_v10 = record {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue