diff options
author | Jeroen Roovers <jer@gentoo.org> | 2015-02-07 10:16:17 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2015-02-07 10:16:17 +0000 |
commit | d1c8c37b574e1c56c26bc3011bd1a7d59556fcaa (patch) | |
tree | 3d7511c59a256765505d38485d96cb6982f93d87 /net-analyzer/dsniff/files | |
parent | drop old impl (diff) | |
download | gentoo-2-d1c8c37b574e1c56c26bc3011bd1a7d59556fcaa.tar.gz gentoo-2-d1c8c37b574e1c56c26bc3011bd1a7d59556fcaa.tar.bz2 gentoo-2-d1c8c37b574e1c56c26bc3011bd1a7d59556fcaa.zip |
Add macof IPv4 packet size calculation fix by Jan Starke (bug #538462).
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-analyzer/dsniff/files')
-rw-r--r-- | net-analyzer/dsniff/files/2.4_beta1-macof-size-calculation.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-analyzer/dsniff/files/2.4_beta1-macof-size-calculation.patch b/net-analyzer/dsniff/files/2.4_beta1-macof-size-calculation.patch new file mode 100644 index 000000000000..068133de2e4d --- /dev/null +++ b/net-analyzer/dsniff/files/2.4_beta1-macof-size-calculation.patch @@ -0,0 +1,11 @@ +--- a/macof.c ++++ b/macof.c +@@ -134,7 +134,7 @@ main(int argc, char *argv[]) + libnet_build_tcp(sport, dport, seq, 0, TH_SYN, 512, + 0, 0, LIBNET_TCP_H, NULL, 0, l, 0); + +- libnet_build_ipv4(LIBNET_TCP_H, 0, ++ libnet_build_ipv4(LIBNET_IPV4_H + LIBNET_TCP_H, 0, + libnet_get_prand(LIBNET_PRu16), 0, 64, + IPPROTO_TCP, 0, src, dst, NULL, 0, l, 0); + |