Fixed potential division by zero

This commit is contained in:
Mark Qvist 2023-12-25 11:39:24 +01:00
parent f4de5d5199
commit d67c8eb1cd
2 changed files with 2 additions and 1 deletions

View file

@ -68,6 +68,7 @@ class Interface:
self.txb = 0
self.created = time.time()
self.online = False
self.bitrate = 1e6
self.ingress_control = True
self.ic_max_held_announces = Interface.MAX_HELD_ANNOUNCES