diff options
Diffstat (limited to 'net/ping.c')
-rw-r--r-- | net/ping.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -100,7 +100,7 @@ void ping_start(void) void ping_receive(struct ethernet_hdr *et, struct ip_udp_hdr *ip, int len) { - ICMP_t *icmph = (ICMP_t *)&(ip->udp_src); + struct icmp_hdr *icmph = (struct icmp_hdr *)&ip->udp_src; IPaddr_t src_ip; switch (icmph->type) { |