Fixed a linter error

dev
Ice3man543 2021-11-23 13:15:24 +05:30
parent 831114bdbd
commit 44e304179a
1 changed files with 0 additions and 4 deletions

View File

@ -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)
}