summaryrefslogtreecommitdiffstats
path: root/support/nfs/mydaemon.c
diff options
context:
space:
mode:
authorFrank Sorenson <sorenson@redhat.com>2015-11-02 08:31:29 -0500
committerSteve Dickson <steved@redhat.com>2015-11-02 08:55:04 -0500
commit9a92ef6f194926904b1289e0ce1daecb42bd5e8b (patch)
treeb06e6c3272a4722b3ee21cb8475c6d0e03d33ac3 /support/nfs/mydaemon.c
parentbbcb9b79fbe77e133fddf921c09dc757947c031b (diff)
downloadnfs-utils-9a92ef6f194926904b1289e0ce1daecb42bd5e8b.tar.gz
nfs-utils-9a92ef6f194926904b1289e0ce1daecb42bd5e8b.tar.xz
nfs-utils-9a92ef6f194926904b1289e0ce1daecb42bd5e8b.zip
mountd: fix netgroup lookup for resolvable IP addresses
If a netgroup entry specifies an IP address, and that IP address can be resolved to a name, mountd will currently only test whether the canonical name and any aliases are in the netgroup, and does not test whether the IP address is in the netgroup (IP addresses which do not resolve to a name are already checked against the netgroup). This patch adds the check to see whether the IP addresses are in the netgroup. Signed-off-by: Frank Sorenson <sorenson@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/nfs/mydaemon.c')
0 files changed, 0 insertions, 0 deletions