diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-14 04:36:20 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-14 04:36:20 +0200 |
commit | 17262dfd62a548e44269535ce60a905613901063 (patch) | |
tree | 0f99f34961617bc1f9500d23bad239d9961d75c5 /peer.go | |
parent | 25df2e6942b6fc2066d76b672956cb480affad11 (diff) |
No need for padding any more
Diffstat (limited to 'peer.go')
-rw-r--r-- | peer.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,8 +25,8 @@ type Peer struct { device *Device endpoint Endpoint persistentKeepaliveInterval uint16 - _ uint32 // padding for alignment + // This must be 64-bit aligned, so make sure the above members come out to even alignment and pad accordingly stats struct { txBytes uint64 // bytes send to peer (endpoint) rxBytes uint64 // bytes received from peer |