remove the error log of incomplete udp packet

This commit is contained in:
Max Lv
2015-10-29 14:42:55 +08:00
parent c1959cac7f
commit 03ac9aa618
+2 -2
View File
@@ -653,7 +653,7 @@ static void remote_recv_cb(EV_P_ ev_io *w, int revents)
#ifdef UDPRELAY_LOCAL
buf = ss_decrypt_all(BUF_SIZE, buf, &buf_len, server_ctx->method, 0);
if (buf == NULL) {
LOGE("[udp] server_ss_decrypt_all");
// drop the packet silently
goto CLEAN_UP;
}
@@ -835,7 +835,7 @@ static void server_recv_cb(EV_P_ ev_io *w, int revents)
buf = ss_decrypt_all(BUF_SIZE, buf, &buf_len, server_ctx->method, server_ctx->auth);
if (buf == NULL) {
LOGE("[udp] server_ss_decrypt_all");
// drop the packet silently
goto CLEAN_UP;
}
#endif