修改拦tunnel stream错误问题

This commit is contained in:
fumingwei
2020-10-19 20:39:21 +08:00
committed by 付明卫
parent 7ca3d5cfe8
commit 50eea557a6

View File

@@ -1581,7 +1581,7 @@ extern "C" char kni_tcpall_entry(struct streaminfo *stream, void** pme, int thre
}
ret=MESA_get_stream_opt(stream, MSO_STREAM_TUNNEL_TYPE, (void *)&stream_tunnel_type, &stream_tunnel_type_len);
if(ret != STREAM_TUNNLE_NON)
if(stream_tunnel_type != STREAM_TUNNLE_NON)
{
KNI_LOG_DEBUG(logger, "stream type is tunnel, type = %d",ret);
return APP_STATE_FAWPKT | APP_STATE_DROPME;