wgengine/tstun: fix 32-bit alignment again

reviewable/pr773/r1
Brad Fitzpatrick 4 years ago
parent afb2be71de
commit 64a24e796b

@ -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()

Loading…
Cancel
Save