openiked
openiked copied to clipboard
The critical bit is the most-significant bit, not the least significant
OpenIKED treats the least significant bit of the reserved field of the generic payload header as the critical bit - this is incorrect according to the RFCs and according to a number of other implementations. Fix would involved defining the critical bit as 0x80
or 0x1 << 7
.