A bit of MySQL cleanup - removed unused events, consolidated similar events, fixed up main.bro a bit

This commit is contained in:
Vlad Grigorescu 2014-10-28 16:25:32 -06:00
parent 45d5080870
commit e2ad93c543
6 changed files with 167 additions and 82 deletions

View file

@ -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 {