summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c
index d0ff960a3c..1de6d17a41 100644
--- a/source3/lib/util_sock.c
+++ b/source3/lib/util_sock.c
@@ -1666,7 +1666,7 @@ bool is_myname_or_ipaddr(const char *s)
return true;
}
- if (is_zero_addr((struct sockaddr *)&ss) ||
+ if (is_zero_addr(&ss) ||
is_loopback_addr((struct sockaddr *)&ss)) {
return false;
}