diff options
-rw-r--r-- | src/libs6/s6_accessrules_keycheck_ip6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs6/s6_accessrules_keycheck_ip6.c b/src/libs6/s6_accessrules_keycheck_ip6.c index f5bcc5a..3a13c68 100644 --- a/src/libs6/s6_accessrules_keycheck_ip6.c +++ b/src/libs6/s6_accessrules_keycheck_ip6.c @@ -18,7 +18,7 @@ s6_accessrules_result_t s6_accessrules_keycheck_ip6 (void const *key, void const { size_t len ; s6_accessrules_result_t r ; - if (i) bitarray_clear(ip6, 128 - i) ; + if (i) ip6[(128-i) >> 3] &= ~(1 << (i&7)) ; len = 4 + ip6_fmt(fmt+4, ip6) ; fmt[len++] = '_' ; len += uint_fmt(fmt + len, 128 - i) ; |