mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
fixing a few mistakes in list conversion
This commit is contained in:
@ -111,7 +111,7 @@ func TransformIPToList(address net.IP, transforms []IpConversion) ([]net.IP, err
|
||||
return nil, err
|
||||
}
|
||||
if (thisIP >= min) && (thisIP <= max) {
|
||||
if conv.NewIPs != nil {
|
||||
if len(conv.NewIPs) > 0 {
|
||||
return conv.NewIPs, nil
|
||||
}
|
||||
list := []net.IP{}
|
||||
|
Reference in New Issue
Block a user