← Commit list

dfd38a480

Bernhard Reutner-Fischer
Bernhard Reutner-Fischer
2010-01-23
FAILED Duration: 27s

Subject

ping: use ICMP_MINLEN

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/ping.c+1 -1
@@ -162,7 +162,7 @@ static void ping6(len_and_sockaddr *lsa)
bb_perror_msg("recvfrom");
continue;
}
- if (c >= 8) { /* icmp6_hdr */
+ if (c >= ICMP_MINLEN) { /* icmp6_hdr */
pkt = (struct icmp6_hdr *) packet;
if (pkt->icmp6_type == ICMP6_ECHO_REPLY)
break;