some fixes

This commit is contained in:
Miek Gieben 2016-03-21 21:22:23 +00:00
parent 740178c83f
commit e985af7870

View file

@ -49,7 +49,7 @@ func New(hosts []string) Proxy {
upstream.Hosts[i] = uh
}
p.Upstreams = []Upstream{upstream}
return p, nil
return p
}
func (p Proxy) Lookup(state middleware.State, name string, tpe uint16) (*dns.Msg, error) {