1
1
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-10 21:01:02 +02:00
This commit is contained in:
Zack Scholl 2020-10-05 08:29:42 -07:00
parent a013b00625
commit 6f5e6ef77f

View file

@ -262,6 +262,8 @@ func FindOpenPorts(host string, portNumStart, numPorts int) (openPorts []int) {
return
}
// local ip determination
// https://stackoverflow.com/questions/41240761/check-if-ip-address-is-in-private-network-space
var privateIPBlocks []*net.IPNet
func init() {