From 1d9ebe8c388171094ec7da44096b9523baf16f0d Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Tue, 29 Sep 2026 12:39:42 +0200 Subject: [PATCH] Fixed missing configurable property propagations on spawned interfaces. By JRG (commit fd1c463fa7e940e5ccea87bc51291fff6ff75f8d) --- RNS/Interfaces/AutoInterface.py | 4 ++++ RNS/Interfaces/BackboneInterface.py | 4 ++++ RNS/Interfaces/TCPInterface.py | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/RNS/Interfaces/AutoInterface.py b/RNS/Interfaces/AutoInterface.py index 110de664..610b40d8 100644 --- a/RNS/Interfaces/AutoInterface.py +++ b/RNS/Interfaces/AutoInterface.py @@ -586,6 +586,10 @@ class AutoInterface(Interface): spawned_interface.announce_rate_penalty = self.announce_rate_penalty spawned_interface.mode = self.mode spawned_interface.gravity = self.gravity + spawned_interface.recursive_prs = self.recursive_prs + spawned_interface.announces_from_internal = self.announces_from_internal + spawned_interface.announces_to_internal = self.announces_to_internal + spawned_interface.announce_cap = self.announce_cap spawned_interface.HW_MTU = self.HW_MTU spawned_interface.online = True RNS.Transport.add_interface(spawned_interface) diff --git a/RNS/Interfaces/BackboneInterface.py b/RNS/Interfaces/BackboneInterface.py index 14aafaaf..28167db3 100644 --- a/RNS/Interfaces/BackboneInterface.py +++ b/RNS/Interfaces/BackboneInterface.py @@ -738,6 +738,10 @@ class BackboneInterface(Interface): spawned_interface.announce_rate_penalty = self.announce_rate_penalty spawned_interface.mode = self.mode spawned_interface.gravity = self.gravity + spawned_interface.recursive_prs = self.recursive_prs + spawned_interface.announces_from_internal = self.announces_from_internal + spawned_interface.announces_to_internal = self.announces_to_internal + spawned_interface.announce_cap = self.announce_cap spawned_interface.HW_MTU = self.HW_MTU RNS.log("Spawned new BackboneClient Interface: "+str(spawned_interface), RNS.LOG_PATHING) if RNS.sl(RNS.LOG_PATHING) else None RNS.Transport.add_interface(spawned_interface) diff --git a/RNS/Interfaces/TCPInterface.py b/RNS/Interfaces/TCPInterface.py index a587a0ce..2af48ba3 100644 --- a/RNS/Interfaces/TCPInterface.py +++ b/RNS/Interfaces/TCPInterface.py @@ -635,6 +635,10 @@ class TCPServerInterface(Interface): spawned_interface.announce_rate_penalty = self.announce_rate_penalty spawned_interface.mode = self.mode spawned_interface.gravity = self.gravity + spawned_interface.recursive_prs = self.recursive_prs + spawned_interface.announces_from_internal = self.announces_from_internal + spawned_interface.announces_to_internal = self.announces_to_internal + spawned_interface.announce_cap = self.announce_cap spawned_interface.HW_MTU = self.HW_MTU spawned_interface.online = True RNS.log("Spawned new TCPClient Interface: "+str(spawned_interface), RNS.LOG_VERBOSE)