diff options
author | Mi Jinlong <mijinlong@cn.fujitsu.com> | 2011-08-03 12:52:48 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2011-08-03 13:41:12 -0400 |
commit | ab5977afefc805a0be172662fe03207fad8769ad (patch) | |
tree | 9d193a7f2ea42020fbd4ae9f19d052d80798af57 /support/nfs/atomicio.c | |
parent | bdaecae8ac3ff2c4f1b643c9226699f5a8295a45 (diff) | |
download | nfs-utils-ab5977afefc805a0be172662fe03207fad8769ad.tar.gz nfs-utils-ab5977afefc805a0be172662fe03207fad8769ad.tar.xz nfs-utils-ab5977afefc805a0be172662fe03207fad8769ad.zip |
rpc.mountd: let mountd consult /etc/services for port
At RHEL, if user set port for mountd at /etc/services as
"mount 12345/tcp", mountd should be bind to 12345, but the
latest nfs-utils, mountd get a rand port, not 12345.
This patch make sure mountd be bind to the port which was set
at /etc/service.
Signed-off-by: Mi Jinlong <mijinlong@cn.fujitsu.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/nfs/atomicio.c')
0 files changed, 0 insertions, 0 deletions