cloudflare / goflow

The high-scalability sFlow/NetFlow/IPFIX collector used internally at Cloudflare.
BSD 3-Clause "New" or "Revised" License
859 stars 172 forks source link

Do not swap nextHeader and nextHeaderEncap twice in sFlow parser #52

Closed tamihiro closed 4 years ago

tamihiro commented 4 years ago

nextHeader and nextHeaderEncap have been already swapped 4 lines above.

lspgn commented 4 years ago

Good catch. Weird copy-paste. Thank you

lspgn commented 4 years ago

Merged as part of https://github.com/cloudflare/goflow/commit/ecf0e5a6595c178ade7177d3e1c8e0bf59792dcc