mirror of
https://github.com/yarrick/iodine.git
synced 2024-12-22 21:33:33 +02:00
-R only works on OpenBSD.
This commit is contained in:
parent
58dac78bd8
commit
b31e66343a
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue