mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-26 23:40:18 +00:00
Cleanup
This commit is contained in:
parent
059b0743ef
commit
fef5ed6bad
@ -1258,10 +1258,6 @@ class Transport:
|
|||||||
RNS.log("Removing path to "+RNS.prettyhexrep(deprecated_path)+" from tunnel "+RNS.prettyhexrep(tunnel_id), RNS.LOG_DEBUG)
|
RNS.log("Removing path to "+RNS.prettyhexrep(deprecated_path)+" from tunnel "+RNS.prettyhexrep(tunnel_id), RNS.LOG_DEBUG)
|
||||||
paths.pop(deprecated_path)
|
paths.pop(deprecated_path)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def register_destination(destination):
|
def register_destination(destination):
|
||||||
destination.MTU = RNS.Reticulum.MTU
|
destination.MTU = RNS.Reticulum.MTU
|
||||||
@ -1584,7 +1580,6 @@ class Transport:
|
|||||||
for interface in Transport.local_client_interfaces:
|
for interface in Transport.local_client_interfaces:
|
||||||
interface.detach()
|
interface.detach()
|
||||||
|
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def shared_connection_disappeared():
|
def shared_connection_disappeared():
|
||||||
for link in Transport.active_links:
|
for link in Transport.active_links:
|
||||||
@ -1601,7 +1596,6 @@ class Transport:
|
|||||||
Transport.announce_handlers = []
|
Transport.announce_handlers = []
|
||||||
Transport.tunnels = {}
|
Transport.tunnels = {}
|
||||||
|
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def shared_connection_reappeared():
|
def shared_connection_reappeared():
|
||||||
if Transport.owner.is_connected_to_shared_instance:
|
if Transport.owner.is_connected_to_shared_instance:
|
||||||
@ -1609,7 +1603,6 @@ class Transport:
|
|||||||
if registered_destination.type == RNS.Destination.SINGLE:
|
if registered_destination.type == RNS.Destination.SINGLE:
|
||||||
registered_destination.announce(path_response=True)
|
registered_destination.announce(path_response=True)
|
||||||
|
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def exit_handler():
|
def exit_handler():
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user