This commit is contained in:
Max Lv
2016-12-23 18:17:25 +08:00
parent d2b7e6702d
commit 8e52029d31
+1 -3
View File
@@ -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);
}
}