summaryrefslogtreecommitdiff
path: root/source4/torture/local
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/local')
-rw-r--r--source4/torture/local/binding_string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/local/binding_string.c b/source4/torture/local/binding_string.c
index 79d1e89ed6..827eb6c585 100644
--- a/source4/torture/local/binding_string.c
+++ b/source4/torture/local/binding_string.c
@@ -82,7 +82,7 @@ static BOOL test_BindingString(TALLOC_CTX *mem_ctx, const char *binding)
return False;
}
- if (strcasecmp(s, s2) != 0) {
+ if (is_ipaddress(b->host) && strcasecmp(s, s2) != 0) {
DEBUG(0, ("Mismatch while comparing original and from protocol tower generated binding strings: '%s' <> '%s'\n", s, s2));
return False;
}