This commit is contained in:
Miek Gieben 2011-06-14 08:32:03 +02:00
parent d2cf536510
commit 3343234bf2
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ func (dns *Msg) SetReply(request *Msg) {
dns.Question[0] = request.Question[0]
}
// Create a question packet.
func (dns *Msg) SetQuestion(z string, t uint16) {
dns.MsgHdr.Id = Id()
dns.Question = make([]Question, 1)