In message <[email protected]> on Tue, 23 Feb 2016 
11:43:53 -0700, The Doctor <[email protected]> said:

doctor> On Tue, Feb 23, 2016 at 10:00:44AM -0700, The Doctor wrote:
doctor> > # ifdef AI_ADDRCONFIG
doctor> >         hints.ai_flags = AI_ADDRCONFIG;
doctor> > # endif
doctor> 
doctor> The above 3 lines are the issue.
doctor> 
doctor> In clamav/clamd/tcpserver.c  for me to get calmd to work properly
doctor> I need to do
doctor> 
doctor> #ifdef AI_ADDRCONFIG /*
doctor>     hints.ai_flags |= AI_ADDRCONFIG; */
doctor> #endif

That's...  interesting.  One might wonder why AI_ADDRCONFIG is
defined.

I'm still interested in knowing what platform this is on.

In message <[email protected]> on Tue, 23 Feb 2016 
12:16:24 -0700, The Doctor <[email protected]> said:

doctor> On Tue, Feb 23, 2016 at 06:51:56PM +0100, Kurt Roeckx wrote:
doctor> > Do you mean INADDR_LOOPBACK maybe?
doctor> > What about including netinet/in.h instead?
doctor> >
doctor> 
doctor> Not in netinet/in.h

Is INADDR_LOOPBACK defined anywhere?

doctor> a quick solution would be to include the following line in b_addr.c
doctor> 
doctor> #define       INADDR_LOOPBACK         (u_long)0x7F000001                
         

In the end, I think a correct solution would be preferable to the
quick hack.  If it is defined anywhere, it would be nice to know how
to get it.

And oh, what platform is this on?

Cheers,
Richard

-- 
Richard Levitte         [email protected]
OpenSSL Project         http://www.openssl.org/~levitte/
-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to