]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
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)
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>

No differences found