plugin/dnstap: support FQDN TCP endpoint (#5377)

* plugin/dnstap: support FQDN TCP endpoint

Signed-off-by: lob <pengyu@pingcap.com>

* plugin/dnstap: remove unused variable

Signed-off-by: lob <pengyu@pingcap.com>
This commit is contained in:
lobshunter
2022-05-13 02:13:26 +08:00
committed by GitHub
parent 092c144491
commit dbb8a12394
4 changed files with 12 additions and 5 deletions

View File

@@ -25,7 +25,6 @@ type tapper interface {
type dio struct {
endpoint string
proto string
conn net.Conn
enc *encoder
queue chan tap.Dnstap
dropped uint32