summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-05-12 12:27:01 +0200
committerAndrew Tridgell <tridge@samba.org>2011-06-06 12:26:09 +1000
commita527b96c968037db2d699493a9017709d053f95a (patch)
tree0931ed4803122c468e4cc38c28dc0d49ce07a162
parent62af4a3798995b0368625c0322bc9d5373bb0348 (diff)
downloadsamba-a527b96c968037db2d699493a9017709d053f95a.tar.gz
samba-a527b96c968037db2d699493a9017709d053f95a.tar.bz2
samba-a527b96c968037db2d699493a9017709d053f95a.zip
s4-ipv6: fixed a warning
-rw-r--r--source4/lib/socket/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/socket/interface.c b/source4/lib/socket/interface.c
index 9ae658da3e..0de44c1517 100644
--- a/source4/lib/socket/interface.c
+++ b/source4/lib/socket/interface.c
@@ -302,7 +302,7 @@ void load_interface_list(TALLOC_CTX *mem_ctx, const char **interfaces, struct in
DEBUG(0,("ERROR: Could not determine network interfaces, you must use a interfaces config line\n"));
}
for (i=0;i<total_probed;i++) {
- if (!is_loopback_addr(&ifaces[i].ip)) {
+ if (!is_loopback_addr((struct sockaddr *)&ifaces[i].ip)) {
add_interface(mem_ctx, &ifaces[i], local_interfaces);
}
}