mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
quic: analyzer: Support QUIC v2
QUIC v2 changed the version *and* the packet type enumeration to prevent protocol ossification. Use an intermediary unit to handle the difference.
This commit is contained in:
parent
0b6f4ef443
commit
dabe85ebbf
3 changed files with 61 additions and 22 deletions
|
@ -3,5 +3,6 @@ module QUIC;
|
|||
export {
|
||||
const version_strings: table[count] of string = {
|
||||
[0x00000001] = "1",
|
||||
[0x6b3343cf] = "quicv2",
|
||||
} &default=function(version: count): string { return fmt("unknown-%x", version); };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue