mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-07-24 16:58:11 -07:00
Enabled ingress limiting on per-peer Weave and Auto sub-interfaces
This commit is contained in:
@@ -580,9 +580,6 @@ class AutoInterface(Interface):
|
||||
|
||||
def process_outgoing(self, data): pass
|
||||
|
||||
# Ingress limiting happens on peer sub-interfaces
|
||||
def should_ingress_limit(self): return False
|
||||
|
||||
def detach(self): self.online = False
|
||||
|
||||
def __str__(self): return f"AutoInterface[{self.name}]"
|
||||
@@ -656,11 +653,6 @@ class AutoInterfacePeer(Interface):
|
||||
|
||||
if self in RNS.Transport.interfaces: RNS.Transport.interfaces.remove(self)
|
||||
|
||||
# Ingress-limit announces per discovered peer
|
||||
# TODO: Disabled until potential discovery issue
|
||||
# has been diagnosed
|
||||
def should_ingress_limit(self): return False
|
||||
|
||||
class AutoInterfaceHandler(socketserver.BaseRequestHandler):
|
||||
def __init__(self, callback, *args, **keys):
|
||||
self.callback = callback
|
||||
|
||||
Reference in New Issue
Block a user