]> git.decadent.org.uk Git - nfs-utils.git/commit
libexport.a: Prepare to recognize IPv6 addresses in client_gettype()
authorChuck Lever <chuck.lever@oracle.com>
Tue, 31 Aug 2010 19:25:35 +0000 (15:25 -0400)
committerSteve Dickson <steved@redhat.com>
Tue, 31 Aug 2010 19:34:23 +0000 (15:34 -0400)
commit502edf1df5e727cf88b19b634f60392652f35ddc
tree987fb4824ec7ebc35f8be420d4d626863c9be2c9
parent26fd34002585e6a5aa09204b0b01d836fa83dcf3
libexport.a: Prepare to recognize IPv6 addresses in client_gettype()

The current open-coded parsing logic in client_gettype() will be hard
to modify to recognize IPv6 addresses.  Use a more generic mechanism
for detecting IP presentation addresses.

IPv6 will be enabled automatically in client_gettype() when host_pton()
is changed to support IPv6 addresses.

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