make examples better

This commit is contained in:
Miek Gieben 2011-01-27 09:40:18 +01:00
parent 13574b6c97
commit 17e35aed72
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ FLAGS:
opt.Hdr = dns.RR_Header{Name: "", Rrtype: dns.TypeOPT}
opt.SetVersion(0)
opt.SetDo()
opt.SetUDPSize(4096)
opt.SetUDPSize(dns.DefaultMsgSize)
if *nsid {
opt.Option = make([]dns.Option, 1)
opt.Option[0].Code = dns.OptionCodeNSID