diff options
| author | liuxueli <l> | 2022-11-25 18:36:21 +0800 |
|---|---|---|
| committer | liuxueli <l> | 2022-11-25 18:36:21 +0800 |
| commit | 72bb4479ca1c5c06d0fd8b35efd068c1ca08a1d4 (patch) | |
| tree | 7c45d2e0f66902b32b71f29ce0a3820c0f851213 | |
| parent | d00e851cf8a59e709dc72ac1fd222a7b135feaf0 (diff) | |
TSG-12681: 匹配识别协议开关不区分大小写,修复TSGX渲染配置文件的配置选项与功能定义大小写不一致的问题v5.8.8
| -rw-r--r-- | src/tsg_entry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<<g_tsg_proto_name2id[i].type); break; |
