summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/xlator.c
diff options
context:
space:
mode:
authorAnand V. Avati <avati@amp.gluster.com>2009-05-07 13:28:21 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-05-07 13:28:21 +0530
commitbabc4dfb08504e41a35cf06e8c297a19c87ac397 (patch)
treebb5cb95ab00cea1d575b9abc03e0c03c68c4329c /libglusterfs/src/xlator.c
parentfd2e7d9ebb94ccf5faf5c9d9891978e09fce0b05 (diff)
valid_host_name(): accept string lengths upto 75 chars (the limit accepted by glibc resolver)
Diffstat (limited to 'libglusterfs/src/xlator.c')
-rw-r--r--libglusterfs/src/xlator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/xlator.c b/libglusterfs/src/xlator.c
index c4482833d14..002cf90a9e3 100644
--- a/libglusterfs/src/xlator.c
+++ b/libglusterfs/src/xlator.c
@@ -121,7 +121,7 @@ valid_host_name (char *address, int length)
int i = 0;
char ret = 1;
- if ((length > 24) || (length == 1)) {
+ if ((length > 75) || (length == 1)) {
ret = 0;
goto out;
}