Browse Source

Do not add hostnames less than 4 characters long

ipv6 0.1.2
ValdikSS 7 years ago
parent
commit
6827b6ad51
  1. 2
      blackwhitelist.c

2
blackwhitelist.c

@ -72,6 +72,8 @@ int blackwhitelist_load_list(const char *filename) {
line);
continue;
}
if (strlen(line) < 4)
continue;
if (add_hostname(line))
cnt++;
}

Loading…
Cancel
Save