]> git.decadent.org.uk Git - nfs-utils.git/commit
Introduce a new DNS resolver function in utils/mount/network.c that uses
authorChuck Lever <chuck.lever@oracle.com>
Tue, 15 Jul 2008 16:02:42 +0000 (12:02 -0400)
committerSteve Dickson <steved@redhat.com>
Tue, 15 Jul 2008 16:02:42 +0000 (12:02 -0400)
commit4f101548ef4990979400b7095e199c30204b100a
treeb33a1204445130cf634411ab3d4cd0b7c1a0d4ef
parent52fe32278aee9f359d4ef6d1fab7be405ca0b193
Introduce a new DNS resolver function in utils/mount/network.c that uses
getaddrinfo(3), which supports AF_INET6, to resolve host names.

Replace the guts of nfs_gethostbyname() with a call to the new function.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mount/network.c
utils/mount/network.h