You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-analyzer/hping/files/hping-3_pre20141226-scan-ov...

12 lines
316 B

--- a/scan.c
+++ b/scan.c
@@ -456,7 +456,7 @@
continue;
/* time to copy headers in a safe place */
p = (unsigned char*) packet+linkhdr_size+iphdrlen;
- memcpy(&icmp, p, sizeof(subtcp));
+ memcpy(&icmp, p, sizeof(icmp));
p += sizeof(icmp);
memcpy(&subip, p, sizeof(ip));
p += sizeof(ip);