wgengine/tstun: fix 32-bit alignment again

This commit is contained in:
Brad Fitzpatrick 2020-09-18 08:18:38 -07:00
parent afb2be71de
commit 64a24e796b
1 changed files with 1 additions and 2 deletions

View File

@ -65,8 +65,7 @@ type TUN struct {
closeOnce sync.Once
_ [4]byte // force 64-bit alignment of following field on 32-bit
lastActivityAtomic int64 // unix seconds of last send or receive
lastActivityAtomic int64 // unix seconds of last send or receive
destIPActivity atomic.Value // of map[packet.IP]func()