aboutsummaryrefslogtreecommitdiff
path: root/lib/dns/server.go
diff options
context:
space:
mode:
authorShulhan <m.shulhan@gmail.com>2020-02-13 19:49:58 +0700
committerShulhan <m.shulhan@gmail.com>2020-02-13 20:22:52 +0700
commita011abc1da757f69cc27e6c8475b5ae9fdf83bd2 (patch)
tree9dc6aaacbb123c948fa26381d25701ebf2227ff7 /lib/dns/server.go
parent0f5515b0b7d41662306aee41b22f5fa2534dfce7 (diff)
downloadpakakeh.go-a011abc1da757f69cc27e6c8475b5ae9fdf83bd2.tar.xz
all: suppress false-positive linter warnings
Diffstat (limited to 'lib/dns/server.go')
-rw-r--r--lib/dns/server.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dns/server.go b/lib/dns/server.go
index f8995cd1..665c8f50 100644
--- a/lib/dns/server.go
+++ b/lib/dns/server.go
@@ -1123,6 +1123,7 @@ func (srv *Server) runUDPForwarder(tag, nameserver string,
}
}
+//nolint: interfacer
func (srv *Server) stopForwarder(fw Client, hasFallback bool) {
if fw != nil {
fw.Close()