ping: update sequence number after every sent packet.

git-svn-id: svn://kolibrios.org@4435 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2014-01-10 07:29:28 +00:00
parent a0e9094c8d
commit e69e1e4a89

View File

@ -209,12 +209,13 @@ mainloop:
; Send more ICMP packets ? ; Send more ICMP packets ?
continue: continue:
inc [icmp_packet.seq]
dec [count] dec [count]
jz done jz done
mcall 5, 100 ; wait a second mcall 5, 100 ; wait a second
inc [icmp_packet.seq]
jmp mainloop jmp mainloop
; Done.. ; Done..