summaryrefslogtreecommitdiff
path: root/libexec/rshd/rshd.c
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 /libexec/rshd/rshd.c
parent9d1a0f394346489b403a0639926ffc2d04372f01 (diff)
remove NI_WITHSCOPEID (which is not standard)
Diffstat (limited to 'libexec/rshd/rshd.c')
-rw-r--r--libexec/rshd/rshd.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/libexec/rshd/rshd.c b/libexec/rshd/rshd.c
index a888445d975..c4f4d0d2f15 100644
--- a/libexec/rshd/rshd.c
+++ b/libexec/rshd/rshd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rshd.c,v 1.50 2003/08/12 21:21:45 millert Exp $ */
+/* $OpenBSD: rshd.c,v 1.51 2004/11/17 01:47:20 itojun Exp $ */
/*-
* Copyright (c) 1988, 1989, 1992, 1993, 1994
@@ -37,7 +37,7 @@ static char copyright[] =
#ifndef lint
/* from: static char sccsid[] = "@(#)rshd.c 8.2 (Berkeley) 4/6/94"; */
-static char *rcsid = "$OpenBSD: rshd.c,v 1.50 2003/08/12 21:21:45 millert Exp $";
+static char *rcsid = "$OpenBSD: rshd.c,v 1.51 2004/11/17 01:47:20 itojun Exp $";
#endif /* not lint */
/*
@@ -227,11 +227,7 @@ doit(struct sockaddr *fromp)
char raddr[NI_MAXHOST];
char pbuf[NI_MAXSERV];
auth_session_t *as;
-#ifdef NI_WITHSCOPEID
- const int niflags = NI_NUMERICHOST | NI_NUMERICSERV | NI_WITHSCOPEID;
-#else
const int niflags = NI_NUMERICHOST | NI_NUMERICSERV;
-#endif
#ifdef KERBEROS
AUTH_DAT *kdata = (AUTH_DAT *) NULL;