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_pre20051105-scan-ov...

12 lines
299 B

--- a/scan.c
+++ b/scan.c
@@ -456,7 +456,7 @@
continue;
/* time to copy headers in a safe place */
p = 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);