mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-22 06:41:26 +00:00
-R only works on OpenBSD.
This commit is contained in:
parent
58dac78bd8
commit
b31e66343a
|
@ -136,7 +136,9 @@ main(int argc, char **argv)
|
||||||
int lazymode;
|
int lazymode;
|
||||||
int selecttimeout;
|
int selecttimeout;
|
||||||
int hostname_maxlen;
|
int hostname_maxlen;
|
||||||
|
#ifdef OPENBSD
|
||||||
int rtable = 0;
|
int rtable = 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
nameserv_addr = NULL;
|
nameserv_addr = NULL;
|
||||||
topdomain = NULL;
|
topdomain = NULL;
|
||||||
|
@ -200,9 +202,11 @@ main(int argc, char **argv)
|
||||||
case 'd':
|
case 'd':
|
||||||
device = optarg;
|
device = optarg;
|
||||||
break;
|
break;
|
||||||
|
#ifdef OPENBSD
|
||||||
case 'R':
|
case 'R':
|
||||||
rtable = atoi(optarg);
|
rtable = atoi(optarg);
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
case 'P':
|
case 'P':
|
||||||
strncpy(password, optarg, sizeof(password));
|
strncpy(password, optarg, sizeof(password));
|
||||||
password[sizeof(password)-1] = 0;
|
password[sizeof(password)-1] = 0;
|
||||||
|
|
Loading…
Reference in a new issue