forked from izaya/OC-PsychOS2
made ping actually live in the right namespace whoops
This commit is contained in:
parent
0ac4923568
commit
4d0ce1e06d
@ -20,7 +20,7 @@ function netutil.exportfs(path)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function ping(addr,times,timeout)
|
function netutil.ping(addr,times,timeout)
|
||||||
local times, timeout = times or 5, timeout or 30
|
local times, timeout = times or 5, timeout or 30
|
||||||
for i = 1, times do
|
for i = 1, times do
|
||||||
local ipt = computer.uptime()
|
local ipt = computer.uptime()
|
||||||
|
Loading…
Reference in New Issue
Block a user