Subject: | In the IPv4 module flags and offset are rolled up into one field |
The flags and Fragment offset field are rolled up as one field. The attached patch splits then into a flags field and an offset field.
In the current code a packet with the don't fragement bit set would be incorrectly handled thorugh a unpack and pack sequence.
The flags field after the unpack would be 0x4000 this would then be down shifted three and re-inserted ending up in the fragement offset field.
Moore Macauley
Message body is not shown because it is too large.