mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-30 06:03:34 +08:00
Clean up NFS user interface; Fix NFS disconnect bug
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4841 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -1344,10 +1344,8 @@ int cmd_nfsmount(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
|
||||
#endif
|
||||
|
||||
data.sotype = SOCK_DGRAM;
|
||||
data.flags = NFS_NFSV3;
|
||||
data.retrans = 3;
|
||||
data.path = rpath;
|
||||
data.timeo = 7;
|
||||
data.flags = 0; /* 0=Use all defaults */
|
||||
|
||||
/* Perform the mount */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user