summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/rpc.c b/src/server/rpc.c
index aa15973..782c6b8 100644
--- a/src/server/rpc.c
+++ b/src/server/rpc.c
@@ -235,7 +235,7 @@ static void addacl(int argc, char **argv, void *data UNUSED)
bits %= 8;
if ( bits != 0 ) {
for (long int i = 0; i < bits; ++i) {
- aclRules[aclCount].bitMask = ( aclRules[aclCount].bitMask >> 1 ) | 0xff;
+ aclRules[aclCount].bitMask = ( aclRules[aclCount].bitMask >> 1 ) | 0x80;
}
aclRules[aclCount].host[aclRules[aclCount].bytes] &= aclRules[aclCount].bitMask;
}