+ return;
+ }
+
+ char buf[INET6_ADDRSTRLEN];
+ if (IN6_IS_ADDR_V4MAPPED(&addr.sin6_addr)) {
+ // IPv4 address, really.
+ if (inet_ntop(AF_INET, &addr.sin6_addr.s6_addr32[3], buf, sizeof(buf)) == NULL) {
+ log_perror("inet_ntop");
+ remote_addr = "";
+ } else {
+ remote_addr = buf;
+ }