plugin/nsid: Small doc cleanup (#1293)

add an example and some typos fixed.
This commit is contained in:
Miek Gieben
2017-12-09 09:37:02 +00:00
committed by GitHub
parent 850a024905
commit cf5418a015
2 changed files with 22 additions and 4 deletions

View File

@@ -29,7 +29,6 @@ func (n Nsid) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (i
if _, ok := o.(*dns.EDNS0_NSID); ok {
nw := &ResponseWriter{ResponseWriter: w, Data: n.Data}
return plugin.NextOrFailure(n.Name(), n.Next, ctx, nw, r)
}
}
}