mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-25 15:41:26 +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;
|
break;
|
||||||
case 'p':
|
case 'p':
|
||||||
port = atoi(optarg);
|
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;
|
break;
|
||||||
default:
|
default:
|
||||||
usage();
|
usage();
|
||||||
|
|
Loading…
Reference in a new issue