diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-18 01:11:57 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-18 01:11:57 +0000 |
commit | f2307dd23f254c58cbc85bcf553ec583509a7082 (patch) | |
tree | 4ba8fa96f460c5e5230ff1dd326f62b88ed0832a /apps/nshlib/nsh_fscmds.c | |
parent | d53035bc78b3fbbd640a6a7535b9cdf7ca0d9667 (diff) | |
download | nuttx-f2307dd23f254c58cbc85bcf553ec583509a7082.tar.gz nuttx-f2307dd23f254c58cbc85bcf553ec583509a7082.tar.bz2 nuttx-f2307dd23f254c58cbc85bcf553ec583509a7082.zip |
NFS update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4746 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/nshlib/nsh_fscmds.c')
-rw-r--r-- | apps/nshlib/nsh_fscmds.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/nshlib/nsh_fscmds.c b/apps/nshlib/nsh_fscmds.c index ebe5f8177..041809faa 100644 --- a/apps/nshlib/nsh_fscmds.c +++ b/apps/nshlib/nsh_fscmds.c @@ -1348,7 +1348,7 @@ int cmd_nfsmount(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv) sin = (FAR struct sockaddr_in *)&data.addr; sin->sin_family = AF_INET; - sin->sin_port = htons(NFS_PORT); + sin->sin_port = htons(NFS_PMAPPORT); sin->sin_addr = inaddr; data.addrlen = sizeof(struct sockaddr_in); @@ -1362,8 +1362,6 @@ int cmd_nfsmount(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv) data.acregmax = 60; data.acdirmin = 30; data.acdirmax = 60; - data.rsize = 0; - data.wsize = 0; data.timeo = (tcp) ? 70 : 7; /* Perform the mount */ |