diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-12-22 21:34:21 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-01-07 14:49:44 +0100 |
commit | 25b01723ddc8bcd2993eb4b21e4e61164f55fa95 (patch) | |
tree | 083f2e5d6772d790996a1465e9cee28bbc1add99 /device/constants.go | |
parent | 40dfc85defd8d47b9d371becc36796d6edc43d05 (diff) |
device: fix alignment of peer stats member
This was shifted by 2 bytes when making persistent keepalive into a u32.
Fix it by placing it after the aligned region.
Fixes: e739ff7 ("device: fix persistent_keepalive_interval data races")
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'device/constants.go')
0 files changed, 0 insertions, 0 deletions