[client] for spoofed SPA packets over ICMP, switche back to sending over echo reply

This commit is contained in:
Michael Rash 2012-10-04 21:05:22 -04:00
parent aceb501eca
commit ecce80b92b

View File

@ -477,7 +477,7 @@ send_spa_packet_icmp(const char *spa_data, const int sd_len,
/* Now the ICMP header values.
*/
icmph->type = ICMP_ECHO; /* Make it an echo reply */
icmph->type = ICMP_ECHOREPLY; /* Make it an echo reply */
icmph->code = 0;
icmph->checksum = 0;