git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
DiskTool - Mounts successfully, debugging readdir
[tpg/acess2.git]
/
KernelLand
/
Modules
/
IPStack
/
icmp.c
diff --git
a/KernelLand/Modules/IPStack/icmp.c
b/KernelLand/Modules/IPStack/icmp.c
index
80974ef
..
66f0f96
100644
(file)
--- a/
KernelLand/Modules/IPStack/icmp.c
+++ b/
KernelLand/Modules/IPStack/icmp.c
@@
-133,7
+133,7
@@
int ICMP_Ping(tInterface *Interface, tIPv4 Addr)
end = ts + Interface->TimeoutDelay;
while( !gICMP_PingSlots[i].bArrived && now() < end) Threads_Yield();
- if(
now() >= end
)
+ if(
!gICMP_PingSlots[i].bArrived
)
return -1;
return (int)( now() - ts );
UCC
git Repository :: git.ucc.asn.au