]> git.decadent.org.uk Git - nfs-utils.git/commit
mountd: Support IPv6 in mountlist_list()
authorChuck Lever <chuck.lever@oracle.com>
Thu, 16 Sep 2010 17:54:21 +0000 (13:54 -0400)
committerSteve Dickson <steved@redhat.com>
Thu, 16 Sep 2010 18:33:51 +0000 (14:33 -0400)
commit10a6b17d3588647ab5e1ee81ba40f1ce12a5184d
tree817d93605df04f443a545a70237973f906ce1fdf
parent76209cdbe989ee4cdfbf489f2695ac779457e763
mountd: Support IPv6 in mountlist_list()

Replace inet_aton(3) and gethostbyaddr(3) calls in mountlist_list()
with calls to the new host_foo() DNS helpers.

The new functions will support IPv6 without additional changes, once
IPv6 is enabled in the generic hostname helpers.

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