From 72bb4479ca1c5c06d0fd8b35efd068c1ca08a1d4 Mon Sep 17 00:00:00 2001 From: liuxueli Date: Fri, 25 Nov 2022 18:36:21 +0800 Subject: [PATCH] =?UTF-8?q?TSG-12681:=20=E5=8C=B9=E9=85=8D=E8=AF=86?= =?UTF-8?q?=E5=88=AB=E5=8D=8F=E8=AE=AE=E5=BC=80=E5=85=B3=E4=B8=8D=E5=8C=BA?= =?UTF-8?q?=E5=88=86=E5=A4=A7=E5=B0=8F=E5=86=99=EF=BC=8C=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?TSGX=E6=B8=B2=E6=9F=93=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E7=9A=84=E9=85=8D=E7=BD=AE=E9=80=89=E9=A1=B9=E4=B8=8E=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E5=AE=9A=E4=B9=89=E5=A4=A7=E5=B0=8F=E5=86=99=E4=B8=8D?= =?UTF-8?q?=E4=B8=80=E8=87=B4=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tsg_entry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tsg_entry.cpp b/src/tsg_entry.cpp index e3f9ae2..4c1f464 100644 --- a/src/tsg_entry.cpp +++ b/src/tsg_entry.cpp @@ -721,7 +721,7 @@ static int tsg_proto_name2flag(char *proto_list, int *flag) for(i=0; i< PROTO_MAX; i++) { - if((memcmp(s, g_tsg_proto_name2id[i].name, e-s))==0) + if((strncasecmp(s, g_tsg_proto_name2id[i].name, e-s))==0) { *flag|=(1<