mirror of
https://github.com/miekg/dns.git
synced 2025-10-17 04:41:19 +02:00
goto restrictions
This commit is contained in:
parent
f1cbdbd9d4
commit
2e4f0cc015
1
msg.go
1
msg.go
@ -488,7 +488,6 @@ func unpackStructValue(val reflect.Value, msg []byte, off int) (off1 int, ok boo
|
||||
f := val.Type().Field(i)
|
||||
switch fv := val.Field(i); fv.Kind() {
|
||||
default:
|
||||
BadType:
|
||||
//fmt.Fprintf(os.Stderr, "dns: unknown unpacking type %v", f.Type)
|
||||
return len(msg), false
|
||||
case reflect.Slice:
|
||||
|
Loading…
x
Reference in New Issue
Block a user