Add traffic management module to the config.

This commit is contained in:
Clive Blackledge
2026-01-19 22:15:00 -08:00
parent fee2b6ccbd
commit 545c3ab192
2 changed files with 6 additions and 0 deletions

View File

@@ -1455,6 +1455,10 @@ class MeshInterface: # pylint: disable=R0902
self.localNode.moduleConfig.paxcounter.CopyFrom(
fromRadio.moduleConfig.paxcounter
)
elif fromRadio.moduleConfig.HasField("traffic_management"):
self.localNode.moduleConfig.traffic_management.CopyFrom(
fromRadio.moduleConfig.traffic_management
)
else:
logger.debug("Unexpected FromRadio payload")