fix typo "dnstop" >> "dnstap" (#3170)

This commit is contained in:
xieyanker
2019-08-23 00:44:25 +08:00
committed by Miek Gieben
parent 7918190901
commit f8e0ae6330

View File

@@ -70,7 +70,7 @@ func (dio *dnstapIO) newConnect() error {
return dio.enc.resetWriter(dio.conn) return dio.enc.resetWriter(dio.conn)
} }
// Connect connects to the dnstop endpoint. // Connect connects to the dnstap endpoint.
func (dio *dnstapIO) Connect() { func (dio *dnstapIO) Connect() {
if err := dio.newConnect(); err != nil { if err := dio.newConnect(); err != nil {
log.Error("No connection to dnstap endpoint") log.Error("No connection to dnstap endpoint")