summaryrefslogtreecommitdiff
path: root/src/tsg_entry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tsg_entry.cpp')
-rw-r--r--src/tsg_entry.cpp2
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;