1
0
mirror of https://github.com/yarrick/iodine.git synced 2024-11-29 16:36:03 +03:00

server port warning message

This commit is contained in:
Erik Ekman 2006-11-12 22:43:03 +00:00
parent 7f7ed5ae43
commit 6fc460ded6

View File

@ -258,6 +258,10 @@ main(int argc, char **argv)
break;
case 'p':
port = atoi(optarg);
if (port) {
printf("ALERT! Other dns servers expect you to run on port 53.\n");
printf("You must manually forward port 53 to port %d for things to work.\n", port);
}
break;
default:
usage();