TSG-2611: 修改关闭tcp option功能时没有关闭扫描maat的问题

This commit is contained in:
fumingwei
2020-08-17 14:49:55 +08:00
parent c88516a573
commit 6812704f92

View File

@@ -1368,7 +1368,8 @@ char first_data_process(struct streaminfo *stream, struct pme_info *pmeinfo, str
pmeinfo->ssl_intercept_state = 1;
//only action = intercept, need sendlog
pmeinfo->tld_handle = TLD_create(-1);
pxy_tcp_option_get_param(g_tsg_maat_feather,(const struct streaminfo *)stream,pmeinfo,logger);
if(g_kni_handle->pxy_tcp_option_enable == 1)
pxy_tcp_option_get_param(g_tsg_maat_feather,(const struct streaminfo *)stream,pmeinfo,logger);
return first_data_intercept(stream, pmeinfo, pktinfo, thread_seq);
default:
//action != interceptbypass and dropme