Re: Solaris 7 and xinetd 2.3.11

Steve G <[email protected]> Mon, 7 Jul 2003 10:50:47 -0700 (PDT)
Newsgroups gmane.network.xinetd
Message-ID <[email protected]>
Hello,

I was planning to work on portability problems after 2.3.12
is released. So, I have no idea how many problems yoou will
ultimately run into.

To start with Remove the __P( ) from lines 56 & 57.

static const char *inet_ntop4 (const u_char *src, char
*dst, size_t size);
static const char *inet_ntop6 (const u_char *src, char
*dst, size_t size);
                                                           
                    
add ifdefs around 77 & 78:

#ifdef AF_INET6
case AF_INET6:
   return (inet_ntop6(src, dst, size));
#endif

and the same ifdef around the whole inet_ntop6 function.

-Steve Grubb

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com