diff options
author | markm <markm@FreeBSD.org> | 2001-08-20 12:12:27 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2001-08-20 12:12:27 +0000 |
commit | 162b7bf01cdec6fdf0f84d400df0f67c2a0d35c0 (patch) | |
tree | 4d7561d04274e34e61f214475d7604ce09ffe37d /libexec/telnetd/ext.h | |
parent | 600042995ae97655a86cbb858298dc63ffca800f (diff) | |
download | FreeBSD-src-162b7bf01cdec6fdf0f84d400df0f67c2a0d35c0.zip FreeBSD-src-162b7bf01cdec6fdf0f84d400df0f67c2a0d35c0.tar.gz |
Feature merging and diff reduction between this code and crypto telnet.
Also remove conditional (AUTHENTICATION) code as we have never compiled
it here, and it is doubtful that it even works in this scenario.
Diffstat (limited to 'libexec/telnetd/ext.h')
-rw-r--r-- | libexec/telnetd/ext.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/libexec/telnetd/ext.h b/libexec/telnetd/ext.h index 406fe90..97c2e94 100644 --- a/libexec/telnetd/ext.h +++ b/libexec/telnetd/ext.h @@ -46,9 +46,7 @@ extern int uselinemode; /* what linemode to use (on/off) */ extern int editmode; /* edit modes in use */ extern int useeditmode; /* edit modes to use */ extern int alwayslinemode; /* command line option */ -# ifdef KLUDGELINEMODE extern int lmodetype; /* Client support for linemode */ -# endif /* KLUDGELINEMODE */ #endif /* LINEMODE */ extern int flowmode; /* current flow control state */ extern int restartany; /* restart output on any character state */ @@ -61,9 +59,6 @@ extern int bftpd; /* behave as bftp daemon */ #if defined(SecurID) extern int require_SecurID; #endif -#if defined(AUTHENTICATION) -extern int auth_level; -#endif extern slcfun slctab[NSLC + 1]; /* slc mapping table */ @@ -143,11 +138,7 @@ extern void set_termbuf P((void)), start_login P((char *, int, char *)), start_slc P((int)), -#if defined(AUTHENTICATION) - start_slave P((char *)), -#else start_slave P((char *, int, char *)), -#endif suboption P((void)), telrcv P((void)), ttloop P((void)), @@ -231,7 +222,11 @@ extern int needtermstat; # ifdef ultrix # define DEFAULT_IM "\r\n\r\nULTRIX (%h) (%t)\r\n\r\r\n\r" # else -# define DEFAULT_IM "\r\n\r\nFreeBSD (%h) (%t)\r\n\r\r\n\r" +# ifdef __FreeBSD__ +# define DEFAULT_IM "\r\n\r\nFreeBSD (%h) (%t)\r\n\r\r\n\r" +# else +# define DEFAULT_IM "\r\n\r\n4.4 BSD UNIX (%h) (%t)\r\n\r\r\n\r" +# endif # endif # endif # endif |