Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32f60a6
)
I decided to go with the slightly simpler logic Thorild Selen suggested
author
Wayne Davison
<wayned@samba.org>
Mon, 7 Jul 2003 18:37:38 +0000
(18:37 +0000)
committer
Wayne Davison
<wayned@samba.org>
Mon, 7 Jul 2003 18:37:38 +0000
(18:37 +0000)
in a subsequent email.
access.c
patch
|
blob
|
blame
|
history
diff --git
a/access.c
b/access.c
index
710a1af
..
bd07567
100644
(file)
--- a/
access.c
+++ b/
access.c
@@
-88,8
+88,7
@@
static int match_address(char *addr, char *tok)
/* Fail quietly if tok is a hostname (not an address) */
if (strspn(tok, "./0123456789") != len
#ifdef INET6
- && strspn(tok, "/0123456789:ABCDEFabcdef") != len
- && !strchr(tok, '%')
+ && !strchr(tok, ':')
#endif
) return 0;