This commit is contained in:
Miek Gieben 2011-08-22 13:06:34 +02:00
parent 3ce319eb8b
commit 6eb42504c4
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ func (dns *Msg) SetRcodeFormatError(request *Msg) {
dns.MsgHdr.Id = request.MsgHdr.Id
}
// IsQuestion returns true if the the packet is a question
// IsQuestion returns true if the the packet is a question.
func (dns *Msg) IsQuestion() (ok bool) {
if len(dns.Question) == 0 {
return false