mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
@@ -17,7 +17,7 @@ import (
|
|||||||
func Split(n *net.IPNet) []string {
|
func Split(n *net.IPNet) []string {
|
||||||
boundary := 8
|
boundary := 8
|
||||||
nstr := n.String()
|
nstr := n.String()
|
||||||
if strings.Contains(nstr,":") {
|
if strings.Contains(nstr, ":") {
|
||||||
boundary = 4
|
boundary = 4
|
||||||
}
|
}
|
||||||
ones, _ := n.Mask.Size()
|
ones, _ := n.Mask.Size()
|
||||||
|
|||||||
Reference in New Issue
Block a user