summaryrefslogtreecommitdiff
path: root/net/p5-NetPacket/files/patch-aa
diff options
context:
space:
mode:
authorFoxfair Hu <foxfair@FreeBSD.org>2003-06-21 06:23:40 +0000
committerFoxfair Hu <foxfair@FreeBSD.org>2003-06-21 06:23:40 +0000
commitfb4a392b9ad86c8bc43eb6681f4a3976f765641a (patch)
treee2c8f4ddfce700f720ce73b6c1fb6d338c3901ac /net/p5-NetPacket/files/patch-aa
parentAdd cryptlib 3.1, a powerful security programming toolkit. (diff)
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 <larse@nik.isi.edu> Since NetPacket 0.04 has the same problem as previous version, we intend to leave the bugfix in the patch list.
Notes
Notes: svn path=/head/; revision=83393
Diffstat (limited to 'net/p5-NetPacket/files/patch-aa')
-rw-r--r--net/p5-NetPacket/files/patch-aa12
1 files changed, 12 insertions, 0 deletions
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});
+
+