This commit is contained in:
Mark Qvist 2022-04-17 17:37:27 +02:00
parent 059b0743ef
commit fef5ed6bad

View File

@ -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: