Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use `id -G` rather than `groups` to get a list of groups for this
[rsync/rsync.git]
/
access.c
diff --git
a/access.c
b/access.c
index
f176343
..
050e8cc
100644
(file)
--- a/
access.c
+++ b/
access.c
@@
-68,6
+68,7
@@
static int match_address(char *addr, char *tok)
mask = ntohl(mask);
} else {
int bits = atoi(p+1);
+ if (bits == 0) return 1;
if (bits <= 0 || bits > 32) {
rprintf(FERROR,"malformed mask in %s\n", tok);
return 0;