[git commit] mount: resolve hosts to IPs in nfs mounts
Denys Vlasenko
vda.linux at googlemail.com
Thu Nov 10 16:01:39 UTC 2011
commit: http://git.busybox.net/busybox/commit/?id=39b233182c0a13200be051b993da181a1db80a87
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
util-linux/mount.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 7ae1981..807e897 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -1729,7 +1729,7 @@ static int nfsmount(struct mntent *mp, long vfsflags, char *filteropts)
end = strchr(mp->mnt_fsname, ':');
*end = '\0';
- lsa = xdotted2sockaddr(mp->mnt_fsname, /*port:*/ 0);
+ lsa = xhost2sockaddr(mp->mnt_fsname, /*port:*/ 0);
*end = ':';
dotted = xmalloc_sockaddr2dotted_noport(&lsa->u.sa);
if (ENABLE_FEATURE_CLEAN_UP) free(lsa);
More information about the busybox-cvs
mailing list