Simple code fixes
- Removed unecessary assigment of the data field
- Moved IPv6 packet check into IPv4 packet check if condition
- Fixed constant to be a power of two (used in bitwise operations)