Remove debugging stuff
This commit is contained in:
parent
c30821fece
commit
d235bf4c2e
2
msg.go
2
msg.go
|
@ -651,14 +651,12 @@ func unpackStructValue(val reflect.Value, msg []byte, off int) (off1 int, ok boo
|
||||||
return lenmsg, false
|
return lenmsg, false
|
||||||
}
|
}
|
||||||
txt = append(txt, string(msg[off+1:off+l]))
|
txt = append(txt, string(msg[off+1:off+l]))
|
||||||
println("ADDING", string(msg[off+1:off+l]))
|
|
||||||
off += l+1
|
off += l+1
|
||||||
if off < rdlength {
|
if off < rdlength {
|
||||||
// More
|
// More
|
||||||
goto Txts
|
goto Txts
|
||||||
}
|
}
|
||||||
fv.Set(reflect.ValueOf(txt))
|
fv.Set(reflect.ValueOf(txt))
|
||||||
println("SETING", len(txt))
|
|
||||||
case "opt": // edns0
|
case "opt": // edns0
|
||||||
if off+2 > lenmsg {
|
if off+2 > lenmsg {
|
||||||
// This is an EDNS0 (OPT Record) with no rdata
|
// This is an EDNS0 (OPT Record) with no rdata
|
||||||
|
|
1
types.go
1
types.go
|
@ -380,7 +380,6 @@ func (rr *RR_TXT) Header() *RR_Header {
|
||||||
func (rr *RR_TXT) String() string {
|
func (rr *RR_TXT) String() string {
|
||||||
s := rr.Hdr.String()
|
s := rr.Hdr.String()
|
||||||
for i, s1 := range rr.Txt {
|
for i, s1 := range rr.Txt {
|
||||||
println("HALLO")
|
|
||||||
if i > 0 {
|
if i > 0 {
|
||||||
s += " " + "\"" + s1 + "\""
|
s += " " + "\"" + s1 + "\""
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue