diff options
author | Jeremy Allison <jra@samba.org> | 2007-10-16 11:33:37 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-10-16 11:33:37 -0700 |
commit | ce77126e68df65abc063de0ccdaec22cc746203d (patch) | |
tree | 97e027102f5a51f2dc89d96a818efa569a551d26 /source3/lib/interface.c | |
parent | b111d543a580694f2909c75a280a42a27bbe6dd0 (diff) | |
download | samba-ce77126e68df65abc063de0ccdaec22cc746203d.tar.gz samba-ce77126e68df65abc063de0ccdaec22cc746203d.tar.bz2 samba-ce77126e68df65abc063de0ccdaec22cc746203d.zip |
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 f6a01b82c5a47957659df08ea84e335dfbba1826)
Diffstat (limited to 'source3/lib/interface.c')
-rw-r--r-- | source3/lib/interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/interface.c b/source3/lib/interface.c index d2aa69a289..4892ec1248 100644 --- a/source3/lib/interface.c +++ b/source3/lib/interface.c @@ -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) { |