lint
This commit is contained in:
parent
7d53d072bb
commit
55cd300f4c
1 changed files with 0 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue