mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-12-23 04:10:18 +00:00
Updated logging
This commit is contained in:
parent
ed20b27e9d
commit
6a1e6417bb
@ -430,9 +430,9 @@ class Transport:
|
|||||||
|
|
||||||
if i > 0:
|
if i > 0:
|
||||||
if i == 1:
|
if i == 1:
|
||||||
RNS.log("Dropped "+str(i)+" link", RNS.LOG_DEBUG)
|
RNS.log("Released "+str(i)+" link", RNS.LOG_DEBUG)
|
||||||
else:
|
else:
|
||||||
RNS.log("Dropped "+str(i)+" links", RNS.LOG_DEBUG)
|
RNS.log("Released "+str(i)+" links", RNS.LOG_DEBUG)
|
||||||
|
|
||||||
i = 0
|
i = 0
|
||||||
for destination_hash in stale_paths:
|
for destination_hash in stale_paths:
|
||||||
@ -546,6 +546,7 @@ class Transport:
|
|||||||
|
|
||||||
if packet.packet_type == RNS.Packet.ANNOUNCE:
|
if packet.packet_type == RNS.Packet.ANNOUNCE:
|
||||||
if packet.attached_interface == None and interface.mode == RNS.Interfaces.Interface.Interface.MODE_ACCESS_POINT:
|
if packet.attached_interface == None and interface.mode == RNS.Interfaces.Interface.Interface.MODE_ACCESS_POINT:
|
||||||
|
RNS.log("Blocking announce broadcast on "+str(interface)+" due to AP mode", RNS.LOG_DEBUG)
|
||||||
should_transmit = False
|
should_transmit = False
|
||||||
|
|
||||||
if should_transmit:
|
if should_transmit:
|
||||||
|
Loading…
Reference in New Issue
Block a user