Skip to content
Browse files

fix broken reconnection count

  • Loading branch information...
1 parent 9b70f69 commit f5214818ec73abe1c02f80b500f15266eb249261 @jvehent committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 postscreen_stats.py
View
3 postscreen_stats.py
@@ -146,7 +146,8 @@ def __init__(self):
# been rejected with a code 450 calculate the
# reconnection delay
if (ip_list[current_ip].logs["CONNECT"] == 2
- and ip_list[current_ip].logs["NOQUEUE 450"] > 0):
+ and ip_list[current_ip].\
+ logs["NOQUEUE 450 deep protocol test reconnection"] > 0):
ip_list[current_ip].logs["RECO. DELAY (graylist)"] = \
ip_list[current_ip].logs["LAST SEEN"] \
- ip_list[current_ip].logs["FIRST SEEN"]

0 comments on commit f521481

Please sign in to comment.
Something went wrong with that request. Please try again.