mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-23 10:05:08 +00:00
server port warning message
This commit is contained in:
parent
7f7ed5ae43
commit
6fc460ded6
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user