优化
This commit is contained in:
2
common.c
2
common.c
@@ -55,7 +55,6 @@ void _printf(const char *format, ...)
|
||||
va_end(args); // 结束对变参列表的处理
|
||||
}
|
||||
|
||||
|
||||
void split_string(char string[], char delims[], char (*whitelist_ip)[WHITELIST_IP_NUM])
|
||||
{
|
||||
int i = 0;
|
||||
@@ -96,7 +95,6 @@ int whitelist(char *client_ip, char (*whitelist_ip)[WHITELIST_IP_NUM])
|
||||
return 0; // 未找到匹配
|
||||
}
|
||||
|
||||
|
||||
// 地域段白名单对比
|
||||
int isregion(char *str, char (*region_list)[WHITELIST_IP_NUM])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user