diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2010-09-16 14:21:48 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2010-09-16 14:33:51 -0400 |
commit | d901e329e380a2adc22783b1b241e414aa24cf51 (patch) | |
tree | ea323767892f52d7503efb23a49f0d5854524d08 /utils/mountd | |
parent | 1ba28ec59f39de0bc4953b42556d847efbb508eb (diff) | |
download | nfs-utils-d901e329e380a2adc22783b1b241e414aa24cf51.tar.gz nfs-utils-d901e329e380a2adc22783b1b241e414aa24cf51.tar.xz nfs-utils-d901e329e380a2adc22783b1b241e414aa24cf51.zip |
mountd: Ensure cache downcall can handle IPv6 addresses
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/mountd')
-rw-r--r-- | utils/mountd/cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |