mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-29 12:36:53 +00:00
Fix #1006
This commit is contained in:
+1
-3
@@ -335,9 +335,7 @@ report_addr(int fd, int err_level)
|
||||
peer_name = get_peer_name(fd);
|
||||
if (peer_name != NULL) {
|
||||
LOGE("failed to handshake with %s", peer_name);
|
||||
if (update_block_list(peer_name, err_level)) {
|
||||
LOGE("add %s to block list", peer_name);
|
||||
}
|
||||
update_block_list(peer_name, err_level);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user