Fixed attribute

This commit is contained in:
Mark Qvist 2023-11-02 12:44:57 +01:00
parent 12e87425dc
commit 628777900e
1 changed files with 2 additions and 1 deletions

View File

@ -339,7 +339,8 @@ class LocalServerInterface(Interface):
spawned_interface.target_port = str(handler.client_address[1])
spawned_interface.parent_interface = self
spawned_interface.bitrate = self.bitrate
spawned_interface._force_bitrate = self._force_bitrate
if hasattr(self, "_force_bitrate"):
spawned_interface._force_bitrate = self._force_bitrate
# RNS.log("Accepting new connection to shared instance: "+str(spawned_interface), RNS.LOG_EXTREME)
RNS.Transport.interfaces.append(spawned_interface)
RNS.Transport.local_client_interfaces.append(spawned_interface)