mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-04-27 14:20:35 +00:00
Enabled ingress limiting on per-peer Weave and Auto sub-interfaces
This commit is contained in:
parent
79b3101fe0
commit
2f47456668
2 changed files with 0 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -991,9 +991,6 @@ class WeaveInterface(Interface):
|
|||
def process_outgoing(self,data):
|
||||
pass
|
||||
|
||||
def should_ingress_limit(self):
|
||||
return False
|
||||
|
||||
def detach(self):
|
||||
self._online = False
|
||||
|
||||
|
|
@ -1086,6 +1083,3 @@ class WeaveInterfacePeer(Interface):
|
|||
|
||||
if self in RNS.Transport.interfaces:
|
||||
RNS.Transport.interfaces.remove(self)
|
||||
|
||||
def should_ingress_limit(self):
|
||||
return False
|
||||
Loading…
Add table
Add a link
Reference in a new issue