summaryrefslogtreecommitdiff
path: root/libc/inet/getservice.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-11-07 22:02:57 +0000
committerEric Andersen <andersen@codepoet.org>2001-11-07 22:02:57 +0000
commit95d611c31690707350d26a990b5674253bc8dca5 (patch)
tree3a8a57c7efbd37d670ec4bb66190130f57a8a5a6 /libc/inet/getservice.c
parentec59f7c2621e30eb776253e82e620db43c136001 (diff)
Patch from Jari Korva <jpkorva@iki.fi>
I found some support in uClibc for IPv6 but I needed some more... Enclosed is the patch containing following modifications: - getnameinfo port from lates glibc - IPv6 support for gethostbyaddr() - IPv6 support for get_hosts_byname and read_etc_hosts (among other things this fixed a bug in gethostbyname2 in a case when user asked for an IPv6 but got a v4 address if it was present in /etc/hosts) - defined ip6addr_any and in6addr_loopback (though the place where I defined these isn't correct, I guess) What is still missing: - getaddrinfo (this could be ported also from glibc but it won't be as easy as porting getnameinfo, I guess) I have tested the patch using enclosed test program and boa web server. Seems to work ;)
Diffstat (limited to 'libc/inet/getservice.c')
0 files changed, 0 insertions, 0 deletions