Certified Security Solutions

NetPacket::IP patch information

NetPacket::IP version .4 has a bug. In IP.pm's encoding function, the "offset" hash field is referenced. This field does not exist. The offset is calculated a few lines above and is contained in a variable "$offset".

The corrected version of IP.pm can be found here : IP.pm

Here's the diff :
diff -r NetPacket-0.04/NetPacket/IP.pm NetPacket-0.04-3/NetPacket/IP.pm
<          $self->{id}, $self->{offset}, $self->{ttl}, $self->{proto},
>          $self->{id}, $offset, $self->{ttl}, $self->{proto},

Site Admin: Certifie Admin