This fixes udp dns checksum calculations. I've sent the fix to the
author as well. I suppose this belongs in ./ports/net/nemesis/
patches/patch-src_nemesis-proto_dns_c.
Thanks for all y'all's efforts!
Jake
*** src/nemesis-proto_dns.c.orig Fri Oct 31 13:29:37 2003
--- src/nemesis-proto_dns.c Mon Jan 14 13:28:41 2008
***************
*** 91,97 ****
if (state == 0)
{
! libnet_build_udp(udp->uh_sport, udp->uh_dport, NULL, 0,
pkt + link_offset + LIBNET_IP_H);
}
else
--- 91,98 ----
if (state == 0)
{
! libnet_build_udp(udp->uh_sport, udp->uh_dport, NULL,
! (LIBNET_DNS_H + pd->file_s),
pkt + link_offset + LIBNET_IP_H);
}
else