Latest update - 9235

This commit is contained in:
2024-03-28 11:18:06 +09:00
parent 463a2d8b4a
commit 0b8e2a4589
20 changed files with 134 additions and 24 deletions
+1 -1
View File
@@ -266,7 +266,7 @@ ngx_http_geoip_addr(ngx_http_request_t *r, ngx_http_geoip_conf_t *gcf)
if (IN6_IS_ADDR_V4MAPPED(inaddr6)) {
p = inaddr6->s6_addr;
inaddr = p[12] << 24;
inaddr = (in_addr_t) p[12] << 24;
inaddr += p[13] << 16;
inaddr += p[14] << 8;
inaddr += p[15];