Set IFAC parameters on spawned interfaces

This commit is contained in:
Mark Qvist 2022-04-27 13:20:46 +02:00
parent 6cf9288b11
commit 7c70f9d865
3 changed files with 8 additions and 0 deletions

View file

@ -298,6 +298,7 @@ class LocalServerInterface(Interface):
spawned_interface.target_ip = handler.client_address[0]
spawned_interface.target_port = str(handler.client_address[1])
spawned_interface.parent_interface = self
spawned_interface.bitrate = self.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)