summaryrefslogtreecommitdiffstats
path: root/net/ping.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ping.c')
-rw-r--r--net/ping.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/ping.c b/net/ping.c
index 7c6084c3e3..76e87494a0 100644
--- a/net/ping.c
+++ b/net/ping.c
@@ -56,12 +56,12 @@ static int ping_send(void)
set_icmp_header(pkt, net_ping_ip);
/* size of the waiting packet */
- NetArpWaitTxPacketSize = eth_hdr_size + IP_ICMP_HDR_SIZE;
+ arp_wait_tx_packet_size = eth_hdr_size + IP_ICMP_HDR_SIZE;
/* and do the ARP request */
- NetArpWaitTry = 1;
- NetArpWaitTimerStart = get_timer(0);
- ArpRequest();
+ arp_wait_try = 1;
+ arp_wait_timer_start = get_timer(0);
+ arp_request();
return 1; /* waiting */
}
OpenPOWER on IntegriCloud