Merge pull request #3093 from lucas-clemente/improve-packet-info

cache the serialized OOB in the conn, not in the packet info
This commit is contained in:
Marten Seemann
2021-03-16 22:18:25 +08:00
committed by GitHub
9 changed files with 23 additions and 19 deletions

View File

@@ -62,8 +62,6 @@ type cryptoStreamHandler interface {
type packetInfo struct {
addr net.IP
ifIndex uint32
once sync.Once
oob []byte
}
type receivedPacket struct {