-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 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;