From 2541c63775d896a6d6aec41f8456cd3594977fff Mon Sep 17 00:00:00 2001 From: Malloc Voidstar <1284317+AlyoshaVasilieva@users.noreply.github.com> Date: Thu, 22 Sep 2022 08:43:36 -0700 Subject: [PATCH] log: `ip_mask` works on bits, not bytes (#270) --- src/docs/markdown/caddyfile/directives/log.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/markdown/caddyfile/directives/log.md b/src/docs/markdown/caddyfile/directives/log.md index ec63e6d..f5661ba 100644 --- a/src/docs/markdown/caddyfile/directives/log.md +++ b/src/docs/markdown/caddyfile/directives/log.md @@ -248,7 +248,7 @@ Marks a field to be replaced with the provided string at encoding time. ##### ip_mask -Masks IP addresses in the field using a CIDR mask, i.e. the number of bytes from the IP to retain, starting from the left side. There is separate configuration for IPv4 and IPv6 addresses. Most commonly, the field to filter would be `request>remote_ip`. +Masks IP addresses in the field using a CIDR mask, i.e. the number of bits from the IP to retain, starting from the left side. There is separate configuration for IPv4 and IPv6 addresses. Most commonly, the field to filter would be `request>remote_ip`. ```caddy-d ip_mask {