jda / nanofi

Low-overhead controller for Ubiquiti UniFi devices
MIT License
7 stars 0 forks source link

fix flagMask handling in inform.Header #3

Closed jda closed 2 years ago

jda commented 2 years ago

On the inform.Header struct, flagMask is not exported while feature flags are. Need to add helper function to regenerate flagMask from current feature flags. Perhaps a getter that dynamically gens it?

This is cause of test/re-parse errors when we try to send replies without zlib compression when requests come in with them.