git.samba.org
/
tridge
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98210e2
)
s3: FreeBSD does not define sin6_addr.s_addr32
author
Volker Lendecke
<vl@samba.org>
Mon, 6 Feb 2012 15:53:22 +0000
(16:53 +0100)
committer
Volker Lendecke
<vl@samba.org>
Mon, 6 Feb 2012 19:03:58 +0000
(20:03 +0100)
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Mon Feb 6 20:03:58 CET 2012 on sn-devel-104
source3/lib/ctdbd_conn.c
patch
|
blob
|
history
diff --git
a/source3/lib/ctdbd_conn.c
b/source3/lib/ctdbd_conn.c
index 9d2b544928e2286d238a4bc9b88d60b6cda12764..95dda5258b14b317ab99d8c9e023f1960256b2d7 100644
(file)
--- a/
source3/lib/ctdbd_conn.c
+++ b/
source3/lib/ctdbd_conn.c
@@
-1641,7
+1641,7
@@
static void smbd_ctdb_canonicalize_ip(const struct sockaddr_storage *in,
#endif
out4->sin_family = AF_INET;
out4->sin_port = in6->sin6_port;
- memcpy(&out4->sin_addr, &in6->sin6_addr.s6_addr
32[3
], 4);
+ memcpy(&out4->sin_addr, &in6->sin6_addr.s6_addr
[12
], 4);
}
}
#endif