Allow nfssvc_setfds to properly deal with AF_INET6.
authorJeff Layton <jlayton@redhat.com>
Fri, 14 Aug 2009 17:33:02 +0000 (13:33 -0400)
committerSteve Dickson <steved@redhat.com>
Fri, 14 Aug 2009 17:33:02 +0000 (13:33 -0400)
commit513acad321c325207a9d8f7f0129253b0e2b6d11
treed2e74229c663b704039934bc7f29f0d769a63a08
parent094b26031a376050d8610d055eb01c7949ad6547
Allow nfssvc_setfds to properly deal with AF_INET6.

IPv6 sockets for knfsd can't be allowed to accept IPv4 packets. Set the
correct option to prevent that from occurring on IPv6 sockets.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/nfsd/nfssvc.c