From fb4a392b9ad86c8bc43eb6681f4a3976f765641a Mon Sep 17 00:00:00 2001 From: Foxfair Hu Date: Sat, 21 Jun 2003 06:23:40 +0000 Subject: PR: Submitted by: Reviewed by: Approved by: Obtained from: MFC after: Update p5-NetPacket to 0.04 [1], and add one patch to fix a bug of calculating IP checksum [2]. Reviewed by: maintainer [1] PR: 53486 (maintainer update) [2] PR: 52956 Submitted by: Lars Eggert Since NetPacket 0.04 has the same problem as previous version, we intend to leave the bugfix in the patch list. --- net/p5-NetPacket/files/patch-aa | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 net/p5-NetPacket/files/patch-aa (limited to 'net/p5-NetPacket/files/patch-aa') diff --git a/net/p5-NetPacket/files/patch-aa b/net/p5-NetPacket/files/patch-aa new file mode 100644 index 000000000000..ffc62c482e62 --- /dev/null +++ b/net/p5-NetPacket/files/patch-aa @@ -0,0 +1,12 @@ +--- NetPacket/IP.pm Fri Jan 11 20:10:25 2002 ++++ NetPacket/IP.pm.new Fri Jan 11 20:10:35 2002 +@@ -224,7 +224,7 @@ + + # make the entire packet + $packet = pack('CCnnnCCna4a4a*a*', $tmp, $self->{tos},$self->{len}, +- $self->{id}, $self->{foffset}, $self->{ttl}, $self->{proto}, ++ $self->{id}, $offset, $self->{ttl}, $self->{proto}, + $self->{cksum}, $src_ip, $dest_ip, $self->{options}, + $self->{data}); + + -- cgit v1.2.3