summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-08-13 00:43:51 +0000
committergVisor bot <gvisor-bot@google.com>2019-08-13 00:43:51 +0000
commit3b7346145bcb48b8fb648e9b598ab3350002a754 (patch)
treec62ef01d8c7db040f06484e30b384888420bb23e /pkg/abi
parentf626b3a1c36d7553dc39cc90364b5fcd317860c9 (diff)
parent691c2f8173dfe7349e8289697299839cda32b495 (diff)
Merge 691c2f81 (automated)
Diffstat (limited to 'pkg/abi')
-rw-r--r--pkg/abi/linux/socket.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/abi/linux/socket.go b/pkg/abi/linux/socket.go
index e53165622..6857a20a3 100644
--- a/pkg/abi/linux/socket.go
+++ b/pkg/abi/linux/socket.go
@@ -366,7 +366,7 @@ type TCPInfo struct {
}
// SizeOfTCPInfo is the binary size of a TCPInfo struct.
-const SizeOfTCPInfo = 104
+var SizeOfTCPInfo = int(binary.Size(TCPInfo{}))
// Control message types, from linux/socket.h.
const (