ume
f3ae48fd50
Return IPv4 native address for IPv4 mapped IPv6 address, even if
...
A RR is not found.
Reviewed by: shin
2000-03-23 17:25:00 +00:00
ume
0fcca1988e
Since crypto/openssh/login.c was changed to use realhostname_sa(),
...
when connecting via IPv6, hostname was not recorded to utmp anymore.
Because, if hostname is longer than buffer size, getnameinfo() returns
with ENI_MEMORY.
Reviewed by: shin
Approved by: jkh
2000-03-07 07:52:01 +00:00
shin
021aaed8bf
Avoid core dump when ai_canonname is NULL.
...
(Now this happens for numeric addrs, as getaddrinfo() 1.3 -> 1.4 change)
Reviewed by: Mark Huizer <xaa@timewasters.nl>
2000-01-27 17:24:53 +00:00
shin
fc29f7bcf7
several tcp apps IPv6 update
...
-inetd
-rshd
-rlogind
-telnetd
-rsh
-rlogin
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
2000-01-25 14:52:10 +00:00
peter
76f0c923fe
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
brian
5a92170186
Put parenthesis around sizeof args.
...
Allow for host names up to MAXHOSTNAMELEN - 1 in length.
Prompted by: bde
1999-04-07 08:26:50 +00:00
brian
cf0ba219f7
Add realhostname() - a function to correctly lookup
...
a name by address and ensure that the name resolves
back to the original address.
1999-04-06 23:02:35 +00:00