1
0
Fork 0

dnsutil.ParseHostPortOrFile function moved

Per https://github.com/coredns/coredns/pull/2104, this is now in
parse.HostPortorFile.
pull/5/head
Kevin Gallagher 2018-11-03 17:32:01 -07:00
parent 4efeb9f3bf
commit 3e4f05a108
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ import (
"strconv"
"github.com/coredns/coredns/core/dnsserver"
"github.com/coredns/coredns/plugin"
"github.com/coredns/coredns/plugin/pkg/dnsutil"
"github.com/coredns/coredns/plugin/pkg/parse"
clog "github.com/coredns/coredns/plugin/pkg/log"
"github.com/coredns/coredns/plugin/proxy"
@ -52,7 +52,7 @@ func dns64Parse(c *caddy.Controller) (proxy.Proxy, *net.IPNet, bool, error) {
if len(args) == 0 {
return prxy, pref, translateAll, c.ArgErr()
}
ups, err := dnsutil.ParseHostPortOrFile(args...)
ups, err := parse.HostPortOrFile(args...)
if err != nil {
return prxy, pref, translateAll, err
}