TSG-13075 TFE的Decrypted Traffic Steering功能增加第三方设备保活检查
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include <tfe_pkt_util.h>
|
||||
#include <tfe_tcp_restore.h>
|
||||
#include <MESA/MESA_prof_load.h>
|
||||
#include <watchdog_3rd_device.h>
|
||||
|
||||
#define TCP_RESTORE_TCPOPT_KIND 88
|
||||
|
||||
@@ -421,7 +422,7 @@ static int payload_handler_cb(struct nfq_q_handle *qh, struct nfgenmsg *nfmsg, s
|
||||
goto end;
|
||||
}
|
||||
|
||||
if (__ctx->proxy->traffic_steering_options.enable)
|
||||
if (__ctx->proxy->traffic_steering_options.enable && steering_device_is_available())
|
||||
{
|
||||
fd_fake_c = tfe_tcp_restore_fd_create(&(restore_info.client), &(restore_info.server), __ctx->proxy->traffic_steering_options.device_client, __ctx->proxy->traffic_steering_options.so_mask_client);
|
||||
if (fd_fake_c < 0)
|
||||
|
||||
Reference in New Issue
Block a user