mirror of
https://github.com/yarrick/iodine.git
synced 2025-01-08 19:53:34 +02:00
server port warning message
This commit is contained in:
parent
7f7ed5ae43
commit
6fc460ded6
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue