lint
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing

This commit is contained in:
grumbulon 2022-12-15 19:23:22 -05:00
parent 7d53d072bb
commit 55cd300f4c

View file

@ -19,11 +19,6 @@ var (
)
func (message *Message) displayQuestion(msg *dns.Msg, opts *util.Options, opt *dns.OPT) error {
var (
name string
err error
)
for _, question := range msg.Question {
if opts.Display.UcodeTranslate {
name, err = idna.ToUnicode(question.Name)
@ -82,7 +77,6 @@ func (message *Message) displayAnswers(msg *dns.Msg, opts *util.Options, opt *dn
}
func (message *Message) displayAuthority(msg *dns.Msg, opts *util.Options, opt *dns.OPT) error {
for _, ns := range msg.Ns {
temp := strings.Split(ns.String(), "\t")
@ -120,7 +114,6 @@ func (message *Message) displayAuthority(msg *dns.Msg, opts *util.Options, opt *
}
func (message *Message) displayAdditional(msg *dns.Msg, opts *util.Options, opt *dns.OPT) error {
for _, additional := range msg.Extra {
if additional.Header().Rrtype == dns.StringToType["OPT"] {
continue