Hello, On Wednesday 19 of May 2010, Faidon Liambotis wrote: > Ping?
Does the attached patch work? If not I'd like to have a test case (either a sample program or step-by-step instructions) in order to reproduce the bug. Just installing heartbeat isn't enough since IPv6Addr gives: # ./IPv6addr 2000::1 start IPv6addr[16323]: ERROR: Generic error ERROR: Generic error (even with 1.1.4-2)
diff -ur libnet-1.1.2.1.orig//src/libnet_build_ip.c libnet-1.1.2.1/src/libnet_build_ip.c --- libnet-1.1.2.1.orig//src/libnet_build_ip.c 2004-03-16 20:40:59.000000000 +0200 +++ libnet-1.1.2.1/src/libnet_build_ip.c 2010-05-24 21:54:09.374852597 +0300 @@ -520,8 +520,12 @@ } /* no checksum for IPv6 */ - return (ptag ? ptag : libnet_pblock_update(l, p, LIBNET_IPV6_H, - LIBNET_PBLOCK_IPV6_H)); + ptag = ptag ? ptag : libnet_pblock_update(l, p, LIBNET_IPV6_H, + LIBNET_PBLOCK_IPV6_H); + + libnet_pblock_record_ip_offset(l, p); + + return(ptag); bad: libnet_pblock_delete(l, p); return (-1);