mirror of
https://github.com/ValdikSS/GoodbyeDPI.git
synced 2024-11-22 01:55:19 +01:00
Do not add hostnames less than 4 characters long
This commit is contained in:
parent
60e87f769a
commit
6827b6ad51
@ -72,6 +72,8 @@ int blackwhitelist_load_list(const char *filename) {
|
||||
line);
|
||||
continue;
|
||||
}
|
||||
if (strlen(line) < 4)
|
||||
continue;
|
||||
if (add_hostname(line))
|
||||
cnt++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user