feat: cook support wildcard for BTZ of mcc and mnc

This commit is contained in:
zhangsz
2025-03-31 15:30:55 +08:00
parent 31c3ee49f4
commit 5ce12ea2a3

View File

@@ -4871,7 +4871,7 @@ GetTariffLacInfo(u_char *cgi)
if(memcmp(pBTZ->mcc,MCC,len) == 0) if(memcmp(pBTZ->mcc,MCC,len) == 0)
{ {
len = strlen((char *)pBTZ->mnc); len = strlen((char *)pBTZ->mnc);
if(len == 0) if(len == 0 || (pBTZ->mnc[0] == '*'))
{ {
matchFlag = 1; matchFlag = 1;
} }