Subject: | IP flags field lost in IP::encode() |
I think I reported this a while back, to make sure...
The IP flags field is not included in the raw packet returned from IP::encode(). However, it is included correctly in the checksum calculation, so people may see this error as a bad checksum error.
The fix is to change this line:
$self->{id}, $self->{foffset}, $self->{ttl}, $self->{proto},
to
$self->{id}, $offset, $self->{ttl}, $self->{proto},