git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62af4a3
)
s4-ipv6: fixed a warning
author
Andrew Tridgell
<tridge@samba.org>
Thu, 12 May 2011 10:27:01 +0000
(12:27 +0200)
committer
Andrew Tridgell
<tridge@samba.org>
Mon, 6 Jun 2011 02:26:09 +0000
(12:26 +1000)
source4/lib/socket/interface.c
patch
|
blob
|
history
diff --git
a/source4/lib/socket/interface.c
b/source4/lib/socket/interface.c
index 9ae658da3efd97f23c9a8a143b72cf465aca775d..0de44c151709712732c96caf6e395fe5f25a532c 100644
(file)
--- 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);
}
}