node: Log IP ban rejections
This commit is contained in:
parent
0a7a9c2945
commit
6598e77456
|
|
@ -1281,6 +1281,7 @@ where
|
|||
match self.db.addresses().is_ip_banned(ip) {
|
||||
Ok(banned) => {
|
||||
if banned {
|
||||
debug!(target: "service", "Rejecting inbound connection from banned ip {ip}");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue