diff options
-rw-r--r-- | libglusterfs/src/xlator.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libglusterfs/src/xlator.c b/libglusterfs/src/xlator.c index 2168beb91ae..4a0de300163 100644 --- a/libglusterfs/src/xlator.c +++ b/libglusterfs/src/xlator.c @@ -597,7 +597,12 @@ _volume_option_value_validate (xlator_t *xl, { if (valid_internet_address (pair->value->data)) { ret = 0; - } + } else { + gf_log (xl->name, GF_LOG_ERROR, "internet address '%s'" + " does not conform to standards.", + pair->value->data); + goto out; + } } break; case GF_OPTION_TYPE_ANY: |