Improved interface detach on shared instance shutdown

This commit is contained in:
Mark Qvist 2025-01-16 14:09:18 +01:00
parent 1b48f43a0d
commit 4f4961257c
6 changed files with 69 additions and 32 deletions

View file

@ -67,12 +67,13 @@ class Interface:
AUTOCONFIGURE_MTU = False
def __init__(self):
self.rxb = 0
self.txb = 0
self.created = time.time()
self.online = False
self.bitrate = 62500
self.HW_MTU = None
self.rxb = 0
self.txb = 0
self.created = time.time()
self.detached = False
self.online = False
self.bitrate = 62500
self.HW_MTU = None
self.ingress_control = True
self.ic_max_held_announces = Interface.MAX_HELD_ANNOUNCES