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 16:59:28 +01:00 committed by Barak A. Pearlmutter
parent 58c6347778
commit 9fa399adcc

View file

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