git.samba.org
/
metze
/
samba
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use sockaddr_storage only where we rely on the size, use sockaddr
[metze/samba/wip.git]
/
source3
/
nmbd
/
nmbd_subnetdb.c
diff --git
a/source3/nmbd/nmbd_subnetdb.c
b/source3/nmbd/nmbd_subnetdb.c
index 225def52cced2c84ea2bc3f7ed746b71e77d765e..61af0bb4a4d57d7b9c71251089b52fec740b9b18 100644
(file)
--- a/
source3/nmbd/nmbd_subnetdb.c
+++ b/
source3/nmbd/nmbd_subnetdb.c
@@
-260,7
+260,7
@@
bool create_subnets(void)
* ignore it here. JRA.
*/
- if (is_loopback_addr(&iface->ip)) {
+ if (is_loopback_addr(
(struct sockaddr *)
&iface->ip)) {
DEBUG(2,("create_subnets: Ignoring loopback interface.\n" ));
continue;
}