diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2006-08-22 20:06:18 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-09-22 23:24:48 -0400 |
commit | f425eba437f0051bde979ea2eef8bc875a77cd00 (patch) | |
tree | c64aae65d42c1bd67604ec0ffe957c03dc3233fe /lib/cmdline.c | |
parent | edb267a688fcee5335d596752f117a30c7152e44 (diff) |
SUNRPC: Create API for displaying remote peer address
Provide an API for formatting the remote peer address for printing without
exposing its internal structure. The address could be dynamic, so we
support a function call to get the address rather than reading it straight
out of a structure.
Test-plan:
Destructive testing (unplugging the network temporarily). Probably need
to rig a server where certain services aren't running, or that returns an
error for some typical operation.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'lib/cmdline.c')
0 files changed, 0 insertions, 0 deletions