summaryrefslogtreecommitdiff
path: root/usr.bin/telnet
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2004-11-17 01:47:21 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2004-11-17 01:47:21 +0000
commitea9351ad6e7abe8037e67138103e038dc61cc8e2 (patch)
tree12fa1b362bb119ac898e59e23e54c8eba193f553 /usr.bin/telnet
parent9d1a0f394346489b403a0639926ffc2d04372f01 (diff)
remove NI_WITHSCOPEID (which is not standard)
Diffstat (limited to 'usr.bin/telnet')
-rw-r--r--usr.bin/telnet/commands.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/telnet/commands.c b/usr.bin/telnet/commands.c
index 9d0869c88e9..5ee299d498f 100644
--- a/usr.bin/telnet/commands.c
+++ b/usr.bin/telnet/commands.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: commands.c,v 1.46 2003/12/28 21:53:01 otto Exp $ */
+/* $OpenBSD: commands.c,v 1.47 2004/11/17 01:47:20 itojun Exp $ */
/* $NetBSD: commands.c,v 1.14 1996/03/24 22:03:48 jtk Exp $ */
/*
@@ -2274,11 +2274,7 @@ tn(argc, argv)
#endif
char *cmd, *hostp = 0, *portp = 0, *user = 0, *aliasp = 0;
int retry;
-#ifdef NI_WITHSCOPEID
- const int niflags = NI_NUMERICHOST | NI_WITHSCOPEID;
-#else
const int niflags = NI_NUMERICHOST;
-#endif
/* clear the socket address prior to use */
memset((char *)&sin, 0, sizeof(sin));