* [gentoo-commits] gentoo-x86 commit in net-analyzer/dsniff/files: 2.4_beta1-macof-size-calculation.patch
@ 2015-02-07 10:16 Jeroen Roovers (jer)
0 siblings, 0 replies; only message in thread
From: Jeroen Roovers (jer) @ 2015-02-07 10:16 UTC (permalink / raw
To: gentoo-commits
jer 15/02/07 10:16:17
Added: 2.4_beta1-macof-size-calculation.patch
Log:
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)
Revision Changes Path
1.1 net-analyzer/dsniff/files/2.4_beta1-macof-size-calculation.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/dsniff/files/2.4_beta1-macof-size-calculation.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/dsniff/files/2.4_beta1-macof-size-calculation.patch?rev=1.1&content-type=text/plain
Index: 2.4_beta1-macof-size-calculation.patch
===================================================================
--- 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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-02-07 10:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-07 10:16 [gentoo-commits] gentoo-x86 commit in net-analyzer/dsniff/files: 2.4_beta1-macof-size-calculation.patch Jeroen Roovers (jer)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox