SCCS-vsn: libexec/telnetd/state.c 5.2
-static char sccsid[] = "@(#)state.c 5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)state.c 5.2 (Berkeley) %G%";
#endif /* not lint */
#include "telnetd.h"
#endif /* not lint */
#include "telnetd.h"
case TELOPT_TTYPE: { /* Yaaaay! */
static char terminalname[5+41] = "TERM=";
case TELOPT_TTYPE: { /* Yaaaay! */
static char terminalname[5+41] = "TERM=";
- if (hisopts[TELOPT_TSPEED] == OPT_NO) /* Ignore if option disabled */
+ if (hisopts[TELOPT_TTYPE] == OPT_NO) /* Ignore if option disabled */
break;
settimer(ttypesubopt);
break;
settimer(ttypesubopt);