aboutsummaryrefslogtreecommitdiff
path: root/net/ping.c
diff options
context:
space:
mode:
authorJoe Hershberger2012-05-23 07:58:09 +0000
committerJoe Hershberger2012-05-23 17:46:15 -0500
commite0a630795b35f3137a3204e0d8e5fea928f8962b (patch)
treef72792762c7481f2e0ef550de5dceaa40930ffa3 /net/ping.c
parent738853bb6d290dc4b52d8c2989c0998d7aa26913 (diff)
net: cosmetic: Un-typedef ICMP_t
Remove typedef and lower-case name Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'net/ping.c')
-rw-r--r--net/ping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ping.c b/net/ping.c
index 04a594cf53a..3102521c064 100644
--- a/net/ping.c
+++ b/net/ping.c
@@ -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) {