Fixed rnstatus including not-yet-blocked IPs in blocked IP list output

This commit is contained in:
Mark Qvist committed 2026-08-23 11:30:43 +02:00
1 parent 1bad7f5807
commit bfab2964b6
1 file changed
+1 -1
+1 -1
View File
@@ -564,7 +564,7 @@ class BackboneInterface(Interface):
@property
def blocked_ip_list(self):
if not self.block_fast_flapping: return []
else: return list(self.fast_flapping.keys())
else: return [ip for ip in self.fast_flapping if self.fast_flapping[ip][2] > self.fast_flap_grace]
@property
def blocked_ip_count(self):