made ping actually live in the right namespace whoops

This commit is contained in:
Izaya 2020-03-18 11:54:35 +11:00
parent 0ac4923568
commit 4d0ce1e06d

View File

@ -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()