From 4d0ce1e06d91197fc371e07911d8ede6ecdf357e Mon Sep 17 00:00:00 2001 From: XeonSquared Date: Wed, 18 Mar 2020 11:54:35 +1100 Subject: [PATCH] made ping actually live in the right namespace whoops --- lib/netutil.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/netutil.lua b/lib/netutil.lua index 7aca7d2..98a88a2 100644 --- a/lib/netutil.lua +++ b/lib/netutil.lua @@ -20,7 +20,7 @@ function netutil.exportfs(path) end end -function ping(addr,times,timeout) +function netutil.ping(addr,times,timeout) local times, timeout = times or 5, timeout or 30 for i = 1, times do local ipt = computer.uptime()