]> Cypherpunks repositories - gostls13.git/commit
net: remove unneeded tags from dnsRR structs
authorMatthew Dempsky <mdempsky@google.com>
Thu, 28 Apr 2016 20:44:15 +0000 (13:44 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Thu, 28 Apr 2016 21:34:06 +0000 (21:34 +0000)
commitbec0863b53777f313396a10f0bc1349139d1009e
tree321f75d0066c2d53af7c51a2a9892810e32bcb53
parentc231dd21e1fe992e196d4a36f9e990523b9cc45a
net: remove unneeded tags from dnsRR structs

DNS packing and unpacking uses hand-coded struct walking functions
rather than reflection, so these tags are unneeded and just contribute
to their runtime reflect metadata size.

Change-Id: I2db09d5159912bcbc3b482cbf23a50fa8fa807fa
Reviewed-on: https://go-review.googlesource.com/22594
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/dnsmsg.go