优化:

添加主要处理函数Processing_IP_addresses(src_ip);
数据处理放到cache.c
暂时未发现Bug
This commit is contained in:
2025-02-17 12:59:02 +08:00
parent 685b29a045
commit 5e441c068f
8 changed files with 260 additions and 129 deletions

View File

@@ -270,3 +270,15 @@ char *_execute_command(const char *command) {
return output;
}
void remove_char(char *str, char c)
{
int i = 0, j = 0;
while (str[i]) {
if (str[i] != c) {
str[j++] = str[i];
}
i++;
}
str[j] = '\0';
}