summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlijia <[email protected]>2021-04-06 18:40:14 +0800
committerlijia <[email protected]>2021-04-06 18:40:14 +0800
commit8320dcb94d7e601b2a0a8d754acff89e2abc11df (patch)
tree3f0b7b63bf8b1c47ecd7dc7c6d83531a3aef9a03
parentfe6064bb5eabac1b41551cbebb39f77229460c63 (diff)
修复MSO_STREAM_UP_LAYER_TUNNEL_TYPE选项没有break的BUG.v4.2.30
-rw-r--r--src/dealpkt/deal_udp.c1
-rw-r--r--src/dealpkt/plug_support.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/dealpkt/deal_udp.c b/src/dealpkt/deal_udp.c
index 16e4522..7b72603 100644
--- a/src/dealpkt/deal_udp.c
+++ b/src/dealpkt/deal_udp.c
@@ -559,6 +559,7 @@ int dealipv4udppkt(struct streamindex *pindex, const struct mesa_ip4_hdr * this_
}
if((sapp_global_val->config.packet_io.dup_pkt_para.dup_pkt_distinguish_enable != 0)
+ && (0 == is_overlay_udp_layer) /* vxlan��ı�����Ϣ����ʶ���ظ���, ��Ϊʵ��inline device�����ı����ȫ��һ����, ipid������ */
&& (sapp_dup_pkt_identify_udp_v4(thread_num, pstream_pr, pdetail_pr->udpdetail_public.clientpktnum+pdetail_pr->udpdetail_public.serverpktnum, this_iphdr, udph) != 0)){
local_sys_stat->count[SAPP_STAT_RCV_DUP_UDP]++;
local_sys_stat->length[SAPP_STAT_RCV_DUP_UDP] += ulen;
diff --git a/src/dealpkt/plug_support.c b/src/dealpkt/plug_support.c
index b542c2b..e17b7d1 100644
--- a/src/dealpkt/plug_support.c
+++ b/src/dealpkt/plug_support.c
@@ -1206,6 +1206,7 @@ int MESA_get_stream_opt(const struct streaminfo *pstream, enum MESA_stream_opt o
*out_val = pstream_pr->stream_carry_up_layer_tunnel_type;
ret = 0;
}
+ break;
case MSO_STREAM_CLOSE_REASON:
{