1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-05 12:22:11 +03:00

Fix access control code to be IPv6/v4 protocol independent.

Make unix_wild_match() talloc, not pstring based.
Next will be name resolution code, and client code.
Jeremy.
(This used to be commit f6a01b82c5)
This commit is contained in:
Jeremy Allison
2007-10-16 11:33:37 -07:00
parent b111d543a5
commit ce77126e68
3 changed files with 237 additions and 175 deletions

View File

@ -333,7 +333,7 @@ static void add_interface(const struct iface_struct *ifs)
Create a struct sockaddr_storage with the netmask bits set to 1.
****************************************************************************/
static bool make_netmask(struct sockaddr_storage *pss_out,
bool make_netmask(struct sockaddr_storage *pss_out,
const struct sockaddr_storage *pss_in,
unsigned long masklen)
{