#if 0
{ "confdir", PW_TYPE_STRING_PTR, &radius_dir, RADIUS_DIR },
#endif
+ { "hostname_lookups", PW_TYPE_BOOLEAN, &librad_dodns, "0" },
{ NULL, -1, NULL, NULL }
};
/*
* Process the options.
*/
- while((argval = getopt(argc, argv, "Aa:bcd:fg:hi:l:np:sSvxXyz")) != EOF) {
+ while((argval = getopt(argc, argv, "Aa:bcd:fg:hi:l:p:sSvxXyz")) != EOF) {
switch(argval) {
syslog_facility = str2fac(optarg);
break;
- case 'n':
- librad_dodns = FALSE;
- break;
-
case 'S':
log_stripped_names++;
break;
fprintf(stderr, " -l log_dir Log messages to 'log_dir'. Special values are:\n");
fprintf(stderr, " stdout == log all messages to standard output.\n");
fprintf(stderr, " syslog == log all messages to the system logger.\n");
- fprintf(stderr, " -n Do not do DNS host name lookups.\n");
fprintf(stderr, " -p port Bind to 'port', and not to the radius/udp, or 1646/udp.\n");
fprintf(stderr, " -s Do not spawn child processes to handle requests.\n");
fprintf(stderr, " -S Log stripped names.\n");