Added medium reliability flag to interfaces

This commit is contained in:
Mark Qvist 2026-11-18 11:25:28 +01:00
parent 4a058544a5
commit 8e7dc8b776
No known key found for this signature in database
4 changed files with 7 additions and 0 deletions

View file

@ -156,6 +156,7 @@ class BackboneInterface(Interface):
self.spawned_interfaces = []
self.supports_discovery = True
self.tunnels_allowed = True
self.lossless_medium = True
self.client_limit = client_limit or self.CLIENT_LIMIT
self.block_fast_flapping = flap_block
self.fast_flap_threshold = flap_threshold
@ -893,6 +894,7 @@ class BackboneClientInterface(Interface):
self.owner = owner
self.online = False
self.detached = False
self.lossless_medium = True
self.prefer_ipv6 = prefer_ipv6
self.i2p_tunneled = i2p_tunneled
self.mode = RNS.Interfaces.Interface.Interface.MODE_FULL