func (this *iplist) IPs() []net.IP {
	this.mu.Lock()
	defer this.mu.Unlock()

	if this.ipl == nil {
		this.ipl = make([]net.IP, len(this.ipm))
	}
	this.ipl = this.ipl[0:0]

	for ip := range this.ipm {
		var tmp [4]byte
		copy(tmp[:], ip[:])
		this.ipl = append(this.ipl, net.IP(tmp[:]))
	}

	return this.ipl
}
// IPs returns the list of parsed IP addresses in the form of net.IP
IPs returns the list of parsed IP addresses in the form of net.IP
// IPs returns the list of parsed IP addresses in the form of net . IP
func (this *iplist) IPs() []net.IP {
	this.mu.Lock()
	defer this.mu.Unlock()
	if this.ipl == nil {
		this.ipl = make([]net.IP, len(this.ipm))
	}
	this.ipl = this.ipl[0:0]
	for ip := range this.ipm {
		var tmp [4]byte
		copy(tmp[:], ip[:])
		this.ipl = append(this.ipl, net.IP(tmp[:]))
	}
	return this.ipl
}
func ( this * iplist ) IPs ( ) [ ] net . IP { this . mu . Lock ( ) defer this . mu . Unlock ( ) if this . ipl == nil { this . ipl = make ( [ ] net . IP , len ( this . ipm ) ) } this . ipl = this . ipl [ 0 : 0 ] for ip := range this . ipm { var tmp [ 4 ] byte copy ( tmp [ : ] , ip [ : ] ) this . ipl = append ( this . ipl , net . IP ( tmp [ : ] ) ) } return this . ipl }
IPs returns the list of parsed IP addresses in the form of net.IP
IPs returns the list of parsed IP addresses in the form of net . IP