diff options
| author | David Greenman <dg@FreeBSD.org> | 1995-09-11 20:54:49 +0000 |
|---|---|---|
| committer | David Greenman <dg@FreeBSD.org> | 1995-09-11 20:54:49 +0000 |
| commit | 430ff9b689dd35b41621a534b45f55d1c45a3a65 (patch) | |
| tree | 823a09562dfa610b1a7aff638da511abd8b3f8ad /libexec/telnetd | |
| parent | f7fe07b585841d2c1e92db6955bc467b1105023b (diff) | |
Notes
Diffstat (limited to 'libexec/telnetd')
| -rw-r--r-- | libexec/telnetd/telnetd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/telnetd/telnetd.c b/libexec/telnetd/telnetd.c index 155ef56442a9..b83b6a00f1b7 100644 --- a/libexec/telnetd/telnetd.c +++ b/libexec/telnetd/telnetd.c @@ -742,6 +742,8 @@ char remote_host_name[MAXHOSTNAMELEN]; extern void telnet P((int, int, char *)); +int level; +char user_name[256]; /* * Get a pty, scan input lines. */ @@ -751,9 +753,7 @@ doit(who) char *host, *inet_ntoa(); int t; struct hostent *hp; - int level; int ptynum; - char user_name[256]; /* * Find an available pty to use. @@ -1107,7 +1107,7 @@ telnet(f, p, host) * now. We delay this until here to insure option negotiation * is complete. */ - startslave(host); + startslave(host, level, user_name); for (;;) { fd_set ibits, obits, xbits; |
