diff options
Diffstat (limited to 'libexec')
-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 9210a21480a..8214cc3e19a 100644 --- a/libexec/telnetd/telnetd.c +++ b/libexec/telnetd/telnetd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: telnetd.c,v 1.20 1999/12/11 01:59:43 itojun Exp $ */ +/* $OpenBSD: telnetd.c,v 1.21 1999/12/20 15:51:52 itojun Exp $ */ /* $NetBSD: telnetd.c,v 1.6 1996/03/20 04:25:57 tls Exp $ */ /* @@ -45,7 +45,7 @@ static char copyright[] = static char sccsid[] = "@(#)telnetd.c 8.4 (Berkeley) 5/30/95"; static char rcsid[] = "$NetBSD: telnetd.c,v 1.5 1996/02/28 20:38:23 thorpej Exp $"; #else -static char rcsid[] = "$OpenBSD: telnetd.c,v 1.20 1999/12/11 01:59:43 itojun Exp $"; +static char rcsid[] = "$OpenBSD: telnetd.c,v 1.21 1999/12/20 15:51:52 itojun Exp $"; #endif #endif /* not lint */ @@ -513,7 +513,7 @@ main(argc, argv) } #if defined(IPPROTO_IP) && defined(IP_TOS) - { + if (from.ss_family == AF_INET) { # if defined(HAS_GETTOS) struct tosent *tp; if (tos < 0 && (tp = gettosbyname("telnet", "tcp"))) |