On Tuesday 2018-03-13 10:01, Thorsten Kukuk wrote:
On Tue, Mar 13, Per Jessen wrote:
On a test system with leap15 -
Yesterday when I was playing with the yast nfs client module, I noticed it was using ipv4 for the rpc call to "rainbow" (the nfs server) to list the exported shares. The test system is dual-stack, so I thought that was odd. I then booted it as ipv6-only, and now it used ipv6 to query the nfs server. Revert to dual-stack, and it defaults to ipv4 again.
Other tools - e.g. ping and nfs-ls, correctly use the ipv6 address.
What is correct? I don't know the current situation, but I know a lot of tools of complicated algorithm to find out if ipv4 or ipv6 would be the better match.
They call getaddrinfo({without AI_PASSIVE}) and evaluate the first entry's address family. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org