[SCM] Samba Shared Repository - branch v3-2-test updated -
initial-v3-2-unstable-61-g2ef50e3
Jeremy Allison
jra at samba.org
Tue Oct 16 23:01:56 GMT 2007
The branch, v3-2-test has been updated
via 2ef50e325c2183385286b994216624dc3a309ff3 (commit)
from 0ffdf4fdeea88c21880c8bf69d8db56fb49effa7 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit 2ef50e325c2183385286b994216624dc3a309ff3
Author: Jeremy Allison <jra at samba.org>
Date: Tue Oct 16 16:01:13 2007 -0700
Improve IPv4 detection.
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source/lib/access.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/lib/access.c b/source/lib/access.c
index 506f93a..0d47711 100644
--- a/source/lib/access.c
+++ b/source/lib/access.c
@@ -144,7 +144,7 @@ static bool string_match(const char *tok,const char *s)
return true;
}
} else if ((cut = strchr_m(tok, '/')) != 0) { /* netnumber/netmask */
- if (isdigit(s[0]) ||
+ if ((isdigit(s[0]) && strchr_m(tok, '.') != NULL) ||
(tok[0] == '[' && cut > tok && cut[-1] == ']') ||
((isxdigit(s[0]) || s[0] == ':') &&
strchr_m(tok, ':') != NULL)) {
--
Samba Shared Repository
More information about the samba-cvs
mailing list