summaryrefslogtreecommitdiff
path: root/canohost.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-02-02 23:30:24 +1100
committerDarren Tucker <dtucker@zip.com.au>2005-02-02 23:30:24 +1100
commit2fba993080eba14e339d6a6666ee79580ee20f97 (patch)
tree0b7bc9ce53758047f3a844b0f9d5679ace5e94eb /canohost.c
parent9dc6c7dbec0716157e561036c480bca1bc3c7e47 (diff)
- (dtucker) [auth.c canohost.c canohost.h configure.ac defines.h loginrec.c]
Bug #974: Teach sshd to write failed login records to btmp for failed auth attempts (currently only for password, kbdint and C/R, only on Linux and HP-UX), based on code from login.c from util-linux. With ashok_kovai at hotmail.com, ok djm@
Diffstat (limited to 'canohost.c')
-rw-r--r--canohost.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/canohost.c b/canohost.c
index 8ad684d6c..e5a6b6be3 100644
--- a/canohost.c
+++ b/canohost.c
@@ -20,7 +20,6 @@ RCSID("$OpenBSD: canohost.c,v 1.41 2004/07/21 11:51:29 djm Exp $");
20#include "canohost.h" 20#include "canohost.h"
21 21
22static void check_ip_options(int, char *); 22static void check_ip_options(int, char *);
23static void ipv64_normalise_mapped(struct sockaddr_storage *, socklen_t *);
24 23
25/* 24/*
26 * Return the canonical name of the host at the other end of the socket. The 25 * Return the canonical name of the host at the other end of the socket. The
@@ -166,7 +165,7 @@ check_ip_options(int sock, char *ipaddr)
166#endif /* IP_OPTIONS */ 165#endif /* IP_OPTIONS */
167} 166}
168 167
169static void 168void
170ipv64_normalise_mapped(struct sockaddr_storage *addr, socklen_t *len) 169ipv64_normalise_mapped(struct sockaddr_storage *addr, socklen_t *len)
171{ 170{
172 struct sockaddr_in6 *a6 = (struct sockaddr_in6 *)addr; 171 struct sockaddr_in6 *a6 = (struct sockaddr_in6 *)addr;