From: Chuck Lever Date: Thu, 16 Sep 2010 18:21:48 +0000 (-0400) Subject: mountd: Ensure cache downcall can handle IPv6 addresses X-Git-Tag: nfs-utils-1-2-3-rc6~2 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=d901e329e380a2adc22783b1b241e414aa24cf51;p=nfs-utils.git mountd: Ensure cache downcall can handle IPv6 addresses Signed-off-by: Chuck Lever Signed-off-by: Steve Dickson --- diff --git a/utils/mountd/cache.c b/utils/mountd/cache.c index 0e8a2f4..f70f4d6 100644 --- a/utils/mountd/cache.c +++ b/utils/mountd/cache.c @@ -943,7 +943,7 @@ static int cache_export_ent(char *domain, struct exportent *exp, char *path) */ int cache_export(nfs_export *exp, char *path) { - char buf[INET_ADDRSTRLEN]; + char buf[INET6_ADDRSTRLEN]; int err; FILE *f;