From 41b035e634135310bca3381877120981d7b248a4 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 7 Dec 2001 18:19:09 +0000 Subject: patch from Jari Korva : - fixes endianness bug in gethostbyaddr() (i386 worked fine, while m68k didn't: 192.168.160.162 was queried with 192.168.160.162.in-addr.arpa while it should have been 162.160.168.192.ip-addr.arpa) - contains missing pieces from my previous getnameinfo() patch: now it actually compiles! --- libc/inet/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/inet/Makefile') diff --git a/libc/inet/Makefile b/libc/inet/Makefile index 6fd75010d..62ae92847 100644 --- a/libc/inet/Makefile +++ b/libc/inet/Makefile @@ -40,7 +40,7 @@ MOBJ2=encodeh.o decodeh.o encoded.o decoded.o lengthd.o encodeq.o \ opennameservers.o closenameservers.o resolvename.o gethostbyname.o\ res_init.o res_query.o gethostbyaddr.o \ get_hosts_byname.o get_hosts_byaddr.o read_etc_hosts.o \ - gethostbyname2.o + gethostbyname2.o getnameinfo.o MSRC3=socketcalls.c MOBJ3= accept.o bind.o connect.o getpeername.o getsockname.o getsockopt.o \ -- cgit v1.2.3