summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryangwei <[email protected]>2024-03-25 15:50:26 +0800
committeryangwei <[email protected]>2024-03-25 15:50:26 +0800
commitb3a528fcd8dc3b1119d33dc464c86a02a442640f (patch)
treef6513b34312dc715d8383cc26b2bdaa273584719
parent94baa4d78625e646950a0d0a2e75c93973937637 (diff)
🐞 fix(guess_if_teredo): Add default port to Teredo identifyv4.3.41
-rw-r--r--src/dealpkt/deal_teredo.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/dealpkt/deal_teredo.c b/src/dealpkt/deal_teredo.c
index 49fed77..071df6a 100644
--- a/src/dealpkt/deal_teredo.c
+++ b/src/dealpkt/deal_teredo.c
@@ -24,12 +24,10 @@ int guess_if_teredo(const struct streaminfo *pstream, struct mesa_udp_hdr *udph
}
/* 2018-03-13 lijia close, ijЩTeredo����ʹ�÷DZ�׼�˿�, �ӱܼ��, �����ж϶˿� */
-#if 0
if((TEREDO_DEFAULT_PORT != ntohs(udphdr->uh_sport))
&& (TEREDO_DEFAULT_PORT != ntohs(udphdr->uh_dport))){
return 0;
}
-#endif
udp_payuload_len = ntohs(udphdr->uh_ulen) - sizeof(struct mesa_udp_hdr);
if(udp_payuload_len < (int)sizeof(struct mesa_ip6_hdr)){ /* ���ػ�����һ������IPv6��ͷ */