mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-23 06:00:18 +00:00
Cleanup
This commit is contained in:
parent
1e4dd9d6f0
commit
c18997bf5b
@ -1242,7 +1242,6 @@ class Transport:
|
|||||||
attached_interface
|
attached_interface
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
# If we have any local clients connected, we re-
|
# If we have any local clients connected, we re-
|
||||||
# transmit the announce to them immediately
|
# transmit the announce to them immediately
|
||||||
if (len(Transport.local_client_interfaces)):
|
if (len(Transport.local_client_interfaces)):
|
||||||
@ -1319,7 +1318,6 @@ class Transport:
|
|||||||
new_announce.hops = packet.hops
|
new_announce.hops = packet.hops
|
||||||
new_announce.send()
|
new_announce.send()
|
||||||
|
|
||||||
|
|
||||||
destination_table_entry = [now, received_from, announce_hops, expires, random_blobs, packet.receiving_interface, packet]
|
destination_table_entry = [now, received_from, announce_hops, expires, random_blobs, packet.receiving_interface, packet]
|
||||||
Transport.destination_table[packet.destination_hash] = destination_table_entry
|
Transport.destination_table[packet.destination_hash] = destination_table_entry
|
||||||
RNS.log("Destination "+RNS.prettyhexrep(packet.destination_hash)+" is now "+str(announce_hops)+" hops away via "+RNS.prettyhexrep(received_from)+" on "+str(packet.receiving_interface), RNS.LOG_DEBUG)
|
RNS.log("Destination "+RNS.prettyhexrep(packet.destination_hash)+" is now "+str(announce_hops)+" hops away via "+RNS.prettyhexrep(received_from)+" on "+str(packet.receiving_interface), RNS.LOG_DEBUG)
|
||||||
|
Loading…
Reference in New Issue
Block a user