Compare commits

..

2 Commits

Author SHA1 Message Date
3b3b488353
pref: update submodule
All checks were successful
CI / deploy (push) Successful in 3m36s
2024-08-21 19:53:20 +08:00
10c1fbbbb1
pref: update IPV4 ISP check 2024-08-21 19:38:17 +08:00
2 changed files with 2 additions and 1 deletions

View File

@ -71,6 +71,7 @@ func ToIP(address net.IP) protocol.IP {
} }
func reverseIPv4(ip net.IP) string { func reverseIPv4(ip net.IP) string {
ip = ip.To4()
return fmt.Sprintf("%d.%d.%d.%d.", ip[3], ip[2], ip[1], ip[0]) return fmt.Sprintf("%d.%d.%d.%d.", ip[3], ip[2], ip[1], ip[0])
} }

2
web

@ -1 +1 @@
Subproject commit 6e3ceffb95b0b781e178fe30a5d7468e420bc467 Subproject commit 35b4986c641cf18f849c204893dfaecec58ac070