summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-02-27 09:57:18 +0100
committerVolker Lendecke <vlendec@samba.org>2011-02-27 11:02:53 +0100
commitfec0baacb658eb1bfc15c8ca4dfeecc1cf84eb79 (patch)
tree93055e96b9d02adf9804c69a25f35c0dcf4067b4 /source3/include
parent561205b0166cb4a9c2efbb32b8429f6a83827eee (diff)
downloadsamba-fec0baacb658eb1bfc15c8ca4dfeecc1cf84eb79.tar.gz
samba-fec0baacb658eb1bfc15c8ca4dfeecc1cf84eb79.tar.bz2
samba-fec0baacb658eb1bfc15c8ca4dfeecc1cf84eb79.zip
s3: Make is_zero_addr take a sockaddr_storage
All callers had to cast this anyway Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 27 11:02:53 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index ae048af19f..fdc2b7b7b5 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1249,7 +1249,7 @@ NTSTATUS sid_array_from_info3(TALLOC_CTX *mem_ctx,
bool is_broadcast_addr(const struct sockaddr *pss);
bool is_loopback_ip_v4(struct in_addr ip);
bool is_loopback_addr(const struct sockaddr *pss);
-bool is_zero_addr(const struct sockaddr *pss);
+bool is_zero_addr(const struct sockaddr_storage *pss);
void zero_ip_v4(struct in_addr *ip);
void in_addr_to_sockaddr_storage(struct sockaddr_storage *ss,
struct in_addr ip);