5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-01-22 15:03:17 +00:00
cathugger ff5de89762
util: fix possible OOB in IPv4 flowkey calc, use switch there
ihl may grow upto 15*4=60 so extract and check it before using it as offset in flowkey calculation.
also replace IFs with switches for protocol matching as it's less redundant and nicer to document.
2019-12-11 15:24:43 +02:00
..
2019-08-03 23:10:37 -05:00