Commit e985af78 authored by Miek Gieben's avatar Miek Gieben

some fixes

parent 740178c8
...@@ -49,7 +49,7 @@ func New(hosts []string) Proxy { ...@@ -49,7 +49,7 @@ func New(hosts []string) Proxy {
upstream.Hosts[i] = uh upstream.Hosts[i] = uh
} }
p.Upstreams = []Upstream{upstream} p.Upstreams = []Upstream{upstream}
return p, nil return p
} }
func (p Proxy) Lookup(state middleware.State, name string, tpe uint16) (*dns.Msg, error) { func (p Proxy) Lookup(state middleware.State, name string, tpe uint16) (*dns.Msg, error) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment