diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2007-12-10 14:56:24 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-01-30 02:05:49 -0500 |
commit | 510deb0d7035d4fd465627deb3a119ca854f9e00 (patch) | |
tree | ffc7af675601c88ef8843ddb5a64db8b8da7ee91 /samples/markers | |
parent | 40c553193df41920de659f0446e5d214c862e827 (diff) |
SUNRPC: rpc_create() default hostname should support AF_INET6 addresses
If the ULP doesn't pass a hostname string to rpc_create(), it manufactures
one based on the passed-in address. Be smart enough to handle an AF_INET6
address properly in this case.
Move the default servername logic before the xprt_create_transport() call
to simplify error handling in rpc_create().
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'samples/markers')
0 files changed, 0 insertions, 0 deletions