projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a86e024
)
mount: resolve hosts to IPs in nfs mounts
author
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 10 Nov 2011 16:01:39 +0000
(17:01 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 10 Nov 2011 16:01:39 +0000
(17:01 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/mount.c
patch
|
blob
|
history
diff --git
a/util-linux/mount.c
b/util-linux/mount.c
index 7ae1981c814b1b5837d767dd9fdb709f6be5718d..807e89747556f4a6debf2f8ee0ce1637288c7d0b 100644
(file)
--- 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 = x
dotted
2sockaddr(mp->mnt_fsname, /*port:*/ 0);
+ lsa = x
host
2sockaddr(mp->mnt_fsname, /*port:*/ 0);
*end = ':';
dotted = xmalloc_sockaddr2dotted_noport(&lsa->u.sa);
if (ENABLE_FEATURE_CLEAN_UP) free(lsa);