+2001-04-27 Ken Raeburn <raeburn@mit.edu>
+
+ * telnetd.c (valid_opts): Note that 'w' takes a parameter.
+ Reported by Nico Williams, <Nicolas.Williams@ubsw.com>.
+ (main): Delete options 'N', 'u', 'i' that were removed from
+ valid_opts in 1999.
+ (usage): Don't show -u option.
+
2001-01-25 Tom Yu <tlyu@mit.edu>
* state.c (envvarok): Disallow LC_* and NLSPATH.
*/
char valid_opts[] = {
'd', ':', 'h', 'k', 'L', ':', 'n', 'S', ':', 'U',
- 'w',
+ 'w', ':',
#ifdef AUTHENTICATION
'a', ':', 'X', ':',
#endif
}
}
break;
- case 'u':
- maxhostlen = atoi(optarg);
- break;
- case 'i':
- always_ip = 1;
- break;
- case 'N':
- stripdomain = 0;
- break;
-
default:
fprintf(stderr, "telnetd: %c: unknown option\n", ch);
/* FALLTHROUGH */
#ifdef AUTHENTICATION
fprintf(stderr, " [-X auth-type]");
#endif
- fprintf(stderr, " [-u utmp_hostname_length] [-U]\n");
+ fprintf(stderr, " [-U]\n");
fprintf(stderr, " [-w [ip|maxhostlen[,[no]striplocal]]]\n");
fprintf(stderr, " [port]\n");
exit(1);