Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
strip the prefix from ipv4-mapped addresses
This allows to have plain IPv4 addresses in log, even if listening on an IPv6 socket. Before: ::ffff:10.7.7.72 - - [24/Jan/2025:22:15:54 +0100] "GET /archive.tar.zst HTTP/1.1" 200 72194 "" "pacredir/0.4.8 (arch/x86_64)" After: 10.7.7.72 - - [24/Jan/2025:22:15:54 +0100] "GET /archive.tar.zst HTTP/1.1" 200 72194 "" "pacredir/0.4.8 (arch/x86_64)"
- Loading branch information