archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / dsniff / repos / community-x86_64 / dsniff-macof-size-calculation.patch
blob068133de2e4df08c25f928b562d323001b3d8d6e
1 --- a/macof.c
2 +++ b/macof.c
3 @@ -134,7 +134,7 @@ main(int argc, char *argv[])
4 libnet_build_tcp(sport, dport, seq, 0, TH_SYN, 512,
5 0, 0, LIBNET_TCP_H, NULL, 0, l, 0);
7 - libnet_build_ipv4(LIBNET_TCP_H, 0,
8 + libnet_build_ipv4(LIBNET_IPV4_H + LIBNET_TCP_H, 0,
9 libnet_get_prand(LIBNET_PRu16), 0, 64,
10 IPPROTO_TCP, 0, src, dst, NULL, 0, l, 0);