Andrew Gallatin wrote:
Recent versions of netperf whine verbosely when run on
any version of {Open,}Solaris:

  WARNING! getaddrinfo returned a protocol other than the
  requested protocol.  Please contact your vendor for
  a fix to this bug in getaddrinfo()

Where "recent" actually goes back a ways in "netperf time" anyway.

The specific usage of getaddrinfo() in netperf can be found at:

http://www.netperf.org/svn/netperf2/trunk/src/nettest_bsd.c

in the routine complete_addrinfo

happy benchmarking,

rick jones


The protocol returned always seems to be 0.  Looking at
the code (_getaddrinfo() around lines 450-500 of
in src/lib/libsocket/inet/getaddrinfo.c, the code is
setting nai->ai_protocol = 0; for both IPv4 and IPv6

I believe this is what he's complaining about.  But
is that a bug?  There's a  closed bug (4085835) from 1997
about this, but I have no idea why it was closed
since I cannot see any details from outside..

Drew

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to