diff options
Diffstat (limited to 'middleware/proxy')
-rw-r--r-- | middleware/proxy/dns.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/middleware/proxy/dns.go b/middleware/proxy/dns.go index 3e212c7c3..7fa975733 100644 --- a/middleware/proxy/dns.go +++ b/middleware/proxy/dns.go @@ -20,7 +20,7 @@ func newDNSEx() *dnsEx { return &dnsEx{group: new(singleflight.Group), Timeout: defaultTimeout * time.Second} } -func (g *dnsEx) Protocol() string { return "dns" } +func (d *dnsEx) Protocol() string { return "dns" } func (d *dnsEx) OnShutdown(p *Proxy) error { return nil } func (d *dnsEx) OnStartup(p *Proxy) error { return nil } |