Introduce IPv6-enabled version of get_client_address. The legacy mount
authorChuck Lever <chuck.lever@oracle.com>
Tue, 15 Jul 2008 17:31:17 +0000 (13:31 -0400)
committerSteve Dickson <steved@redhat.com>
Tue, 15 Jul 2008 17:31:17 +0000 (13:31 -0400)
commit6ab9cdacd2ea314a837c7affb840aeeec620cb66
treefbb26667da9faa8af41e846c8ead92be764748a3
parentffb42f63d41542bd2dab4570248d18642e39ed48
Introduce IPv6-enabled version of get_client_address.  The legacy mount
command could use this eventually as well.

If this new function fails to discover an appropriate callback address, it
fills in an ANY address to indicate to the server that it should not call the
client back (ie delegations are disabled in this case).

The user can specify a callback address via the clientaddr= mount option in
this case to enable delegation.

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