mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-11-30 20:06:42 -05:00
Added transport hop limiter
This commit is contained in:
parent
4867e889e2
commit
134db17c81
2 changed files with 7 additions and 0 deletions
|
|
@ -159,6 +159,7 @@ class Interface:
|
|||
self.protocol_violations = 0
|
||||
self.ifac_violations = 0
|
||||
self.packet_filter_hits = 0
|
||||
self.hop_limiter_hits = 0
|
||||
self.dp_ingress_tcount = 0
|
||||
self.dp_ingress_bytes = 0
|
||||
self.dp_ingress_packets = 0
|
||||
|
|
@ -338,6 +339,10 @@ class Interface:
|
|||
self.packet_filter_hits += 1
|
||||
return None
|
||||
|
||||
def hop_limiter_hit(self):
|
||||
self.hop_limiter_hits += 1
|
||||
return None
|
||||
|
||||
@property
|
||||
def ic_burst_count(self): return None
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue