mirror of
https://github.com/ValdikSS/GoodbyeDPI
synced 2025-08-31 06:15:13 +00:00
Do not add hostnames less than 4 characters long
This commit is contained in:
@@ -72,6 +72,8 @@ int blackwhitelist_load_list(const char *filename) {
|
||||
line);
|
||||
continue;
|
||||
}
|
||||
if (strlen(line) < 4)
|
||||
continue;
|
||||
if (add_hostname(line))
|
||||
cnt++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user