]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
nfsd: Factorize code
authorBaptiste Daroussin <bapt@FreeBSD.org>
Sun, 4 Nov 2018 06:39:01 +0000 (06:39 +0000)
committerBaptiste Daroussin <bapt@FreeBSD.org>
Sun, 4 Nov 2018 06:39:01 +0000 (06:39 +0000)
commit56b187fca866ca67ff22b9f39b7c55430693d58d
tree5e425488ec85d92d7e162ba64bc2e8f0e4543475
parent5a2b0b0daa88591fd17e5e6230d58e8ba3be2bd7
nfsd: Factorize code

Factorize code by using struct sockaddr_storage to handle both ipv6 and ipv4

Discussed with: rmacklem
Reviewed by: manu
MFC after: 1 month
Sponsored by: Gandi.net
Differential Revision: https://reviews.freebsd.org/D13223
usr.sbin/nfsd/nfsd.c