made the more intelligent routing actually work
This commit is contained in:
parent
5cabb476de
commit
03341e6af7
@ -175,8 +175,8 @@ function start()
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
dprint("Not cached", cfg.port,packetID,packetType,dest,sender,vPort,data)
|
dprint("Not cached", cfg.port,packetID,packetType,dest,sender,vPort,data)
|
||||||
if v.address ~= repeatingFrom or (v.type ~= "tunnel" and v.isWireless()) then
|
|
||||||
for k,v in pairs(modems) do
|
for k,v in pairs(modems) do
|
||||||
|
if v.address ~= repeatingFrom or (v.type ~= "tunnel" and v.isWireless()) then
|
||||||
if v.type == "modem" then
|
if v.type == "modem" then
|
||||||
v.broadcast(cfg.port,packetID,packetType,dest,sender,vPort,data)
|
v.broadcast(cfg.port,packetID,packetType,dest,sender,vPort,data)
|
||||||
elseif v.type == "tunnel" then
|
elseif v.type == "tunnel" then
|
||||||
|
Loading…
Reference in New Issue
Block a user