libexport.a: Enable IPv6 support in hostname.c
authorChuck Lever <chuck.lever@oracle.com>
Thu, 16 Sep 2010 18:25:52 +0000 (14:25 -0400)
committerSteve Dickson <steved@redhat.com>
Thu, 16 Sep 2010 18:33:51 +0000 (14:33 -0400)
commit63afb96b9d36e72782ad25ca496896029a9d9061
tree5bf4df2c3e455ee2ab1ed15fb42be4766047dcd6
parentd901e329e380a2adc22783b1b241e414aa24cf51
libexport.a: Enable IPv6 support in hostname.c

If --enable-ipv6 is specified when building nfs-utils, libexport's
host_foo() helpers can now return both IPv4 and IPv6 addresses.

This means IPv6 presentation addresses and IPv6 DNS resolution
results are handled properly in the mountd cache and /etc/exports,
but does not yet enable IPv6 mountd listeners.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
support/export/hostname.c