1
0
mirror of https://github.com/ShadowKatStudios/OC-Minitel.git synced 2024-11-23 10:38:05 +11:00

should actually do routing now

This commit is contained in:
Izaya 2018-02-18 12:39:25 +11:00
parent 08af161598
commit 4164fa59b9

View File

@ -136,6 +136,8 @@ function start()
if packetType ~= 2 then if packetType ~= 2 then
computer.pushSignal("net_msg",sender,vport,data) computer.pushSignal("net_msg",sender,vport,data)
end end
else
sendPacket(packetID,packetType,dest,sender,vport,data)
end end
if not rcache[sender] then if not rcache[sender] then
dprint("rcache: "..sender..":", localModem,from,computer.uptime()) dprint("rcache: "..sender..":", localModem,from,computer.uptime())