Compare commits
2 Commits
921e1bb0af
...
3b3b488353
Author | SHA1 | Date | |
---|---|---|---|
3b3b488353 | |||
10c1fbbbb1 |
@ -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
2
web
@ -1 +1 @@
|
|||||||
Subproject commit 6e3ceffb95b0b781e178fe30a5d7468e420bc467
|
Subproject commit 35b4986c641cf18f849c204893dfaecec58ac070
|
Loading…
Reference in New Issue
Block a user