diff options
Diffstat (limited to 'source4/lib/util.c')
-rw-r--r-- | source4/lib/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/util.c b/source4/lib/util.c index 03ae86422f..173d755bec 100644 --- a/source4/lib/util.c +++ b/source4/lib/util.c @@ -332,7 +332,7 @@ uint32_t interpret_addr(const char *str) struct hostent *hp; uint32_t res; - if (str == NULL || + if (str == NULL || *str == 0 || strcmp(str,"0.0.0.0") == 0) { return 0; } |