]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
rpc.mountd: let mountd consult /etc/services for port
authorMi Jinlong <mijinlong@cn.fujitsu.com>
Wed, 3 Aug 2011 16:52:48 +0000 (12:52 -0400)
committerSteve Dickson <steved@redhat.com>
Wed, 3 Aug 2011 17:41:12 +0000 (13:41 -0400)
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>

No differences found