1
0
Fork 0
mirror of https://github.com/yarrick/iodine.git synced 2025-04-07 19:12:07 +00:00
This commit is contained in:
Julian Kranz 2012-01-06 17:26:57 +01:00 committed by Barak A. Pearlmutter
parent c721d0c309
commit 9474a3d79e

View file

@ -2410,7 +2410,7 @@ main(int argc, char **argv)
ipv6_print(&my_net6, netmask6);
}
topdomain = strdup(argv[2]);
topdomain = strdup(argv[1 + v6]);
if (strlen(topdomain) <= 128) {
if(check_topdomain(topdomain)) {
warnx("Topdomain contains invalid characters.");