diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/socket/interface.c | 2 |
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); } } |