]> git.decadent.org.uk Git - nfs-utils.git/commit
statd: Support IPv6 is caller_is_localhost()
authorChuck Lever <chuck.lever@oracle.com>
Thu, 14 Jan 2010 17:23:37 +0000 (12:23 -0500)
committerSteve Dickson <steved@redhat.com>
Fri, 15 Jan 2010 19:55:51 +0000 (14:55 -0500)
commitd1f7c031ee37a7b962777e18dd46cb79b806e1c3
treee53b69d4d3de50bd61c3978ca8f9e5ceca7e41dc
parentb5b794b165956a7d213b04e51b06597b7b1f8bee
statd: Support IPv6 is caller_is_localhost()

For the time being, statd is not going to support receiving SM_MON
calls from the local lockd via IPv6.

However, the upcalls (SM_MON, etc.) from the local lockd arrive on the
same socket that receives calls from remote peers.  Thus
caller_is_localhost() at least has to be smart enough to notice that
the caller is not AF_INET, and to display non-AF_INET addresses
appropriately.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
utils/statd/monitor.c