diff --git a/modules/net/copper.lua b/modules/net/copper.lua index 6f3a416..df58bfb 100644 --- a/modules/net/copper.lua +++ b/modules/net/copper.lua @@ -28,6 +28,7 @@ spawn("copperd",function() print(pcall(function () p.msg = ev[4] p.at = 0 p.lt = 0 + pt[cdlib.encode(0,net.id,p.nid,relib.encode(p)):sub(2)] = os.time() ps[p.pid] = p elseif ev[1] == "modem_message" and ev[4] == net.np and ev[6] == "copper" then local hops,src,dst,data = cdlib.decode(ev[7])