From e69e1e4a89e1dfe7586f206d936fc47b88d4e5bd Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Fri, 10 Jan 2014 07:29:28 +0000 Subject: [PATCH] ping: update sequence number after every sent packet. git-svn-id: svn://kolibrios.org@4435 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/network/icmp/ping.asm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/programs/network/icmp/ping.asm b/programs/network/icmp/ping.asm index ca79a46e22..9ba2a9e769 100644 --- a/programs/network/icmp/ping.asm +++ b/programs/network/icmp/ping.asm @@ -209,12 +209,13 @@ mainloop: ; Send more ICMP packets ? continue: + inc [icmp_packet.seq] + dec [count] jz done mcall 5, 100 ; wait a second - inc [icmp_packet.seq] jmp mainloop ; Done..