mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-04-27 08:09:59 -07:00
Fix interface values not being set on RNodeSubInterface instances
This commit is contained in:
@@ -249,6 +249,7 @@ class RNodeMultiInterface(Interface):
|
||||
if (not self.validcfg):
|
||||
raise ValueError("The configuration for "+str(self)+" contains errors, interface is offline")
|
||||
|
||||
def start(self):
|
||||
try:
|
||||
self.open_port()
|
||||
|
||||
@@ -323,8 +324,8 @@ class RNodeMultiInterface(Interface):
|
||||
lt_alock=subint[9]
|
||||
)
|
||||
|
||||
interface.OUT = self.OUT
|
||||
interface.IN = self.IN
|
||||
interface.OUT = subint[10]
|
||||
interface.IN = True
|
||||
|
||||
interface.announce_rate_target = self.announce_rate_target
|
||||
interface.mode = self.mode
|
||||
@@ -1006,6 +1007,11 @@ class RNodeSubInterface(Interface):
|
||||
self.parent_interface = parent_interface
|
||||
self.announce_rate_target = None
|
||||
|
||||
self.mode = None
|
||||
self.announce_cap = None
|
||||
self.bitrate = None
|
||||
self.ifac_size = None
|
||||
|
||||
# add this interface to the subinterfaces array
|
||||
self.parent_interface.subinterfaces[index] = self
|
||||
|
||||
|
||||
Reference in New Issue
Block a user