1
0
mirror of https://github.com/yarrick/iodine.git synced 2024-11-22 13:06:06 +03:00

-R only works on OpenBSD.

This commit is contained in:
Frank Denis 2013-05-20 10:31:39 -07:00
parent 58dac78bd8
commit b31e66343a

View File

@ -136,7 +136,9 @@ main(int argc, char **argv)
int lazymode;
int selecttimeout;
int hostname_maxlen;
#ifdef OPENBSD
int rtable = 0;
#endif
nameserv_addr = NULL;
topdomain = NULL;
@ -200,9 +202,11 @@ main(int argc, char **argv)
case 'd':
device = optarg;
break;
#ifdef OPENBSD
case 'R':
rtable = atoi(optarg);
break;
#endif
case 'P':
strncpy(password, optarg, sizeof(password));
password[sizeof(password)-1] = 0;