Cleanup mx.go

This commit is contained in:
Miek Gieben 2012-01-11 14:23:02 +01:00
parent 758f0f9ce3
commit 15ebefdafc
1 changed files with 0 additions and 10 deletions

View File

@ -35,14 +35,4 @@ func main() {
for _, a := range r.Answer {
fmt.Printf("%v\n", a)
}
println(r.String())
buf, _ := r.Pack()
r1 := new(dns.Msg)
ok := r1.Unpack(buf)
if ok {
fmt.Printf("%s", r1.String())
} else {
fmt.Printf("%s", r1.String())
fmt.Printf("Failed to unpack compressed msg")
}
}