[rbldnsd] [patch] getnameinfo() fails on Solaris 9

Leandro Santi lesanti at uolsinectis.com.ar
Thu Jan 22 16:36:27 MSK 2004


On Thu, Jan 22, 2004, Michael Tokarev wrote:
> ...
> Why the hell may it fail?!  The only possible explanation I
> see is that same NI_WITHSCOPEID which may be unsupported on
> solaris...

I forgot to mention one detail. Older SunOS 5.9 releases didn't #define
NI_WITHSCOPEID in library headers. However, newer Sun patches seem
to add support for it, possible starting with Sun's 112970-05:

% grep SCOPE /usr/include/netdb.h 
#define NI_WITHSCOPEID  0x0020
#define NI_NUMERICSCOPE 0x0040

This makes rbldnsd behave diffrently on patched and unpatched SunOS 5.9 
machines.

Leandro


More information about the rbldnsd mailing list