From a40d2dfc2957235ddb7189901737f37e6e01a016 Mon Sep 17 00:00:00 2001 From: XeonSquared Date: Fri, 1 Sep 2017 09:10:18 +1000 Subject: [PATCH] made copper actually add sent messages to the filter --- modules/net/copper.lua | 1 + 1 file changed, 1 insertion(+) 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])