mirror of https://github.com/daffainfo/nuclei.git
Fixed a linter error
parent
831114bdbd
commit
44e304179a
|
@ -213,8 +213,6 @@ func questionTypeToInt(questionType string) uint16 {
|
|||
question = dns.TypeDS
|
||||
case "AAAA":
|
||||
question = dns.TypeAAAA
|
||||
default:
|
||||
question = dns.TypeA
|
||||
}
|
||||
return question
|
||||
}
|
||||
|
@ -237,8 +235,6 @@ func classToInt(class string) uint16 {
|
|||
result = dns.ClassNONE
|
||||
case "ANY":
|
||||
result = dns.ClassANY
|
||||
default:
|
||||
result = dns.ClassINET
|
||||
}
|
||||
return uint16(result)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue