mirror of
https://github.com/ValdikSS/GoodbyeDPI
synced 2025-09-01 06:45:20 +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);
|
line);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (strlen(line) < 4)
|
||||||
|
continue;
|
||||||
if (add_hostname(line))
|
if (add_hostname(line))
|
||||||
cnt++;
|
cnt++;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user