aboutsummaryrefslogtreecommitdiff
path: root/device/device.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-11-11 03:13:20 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2021-11-15 23:40:47 +0100
commit111e0566dce3fc3489cb75ee40b752b1b738e9c6 (patch)
tree0a107f1c0617ffb22f13f659e38b10645568b60b /device/device.go
parente3134bf6659b13bbc4713fe2b9147463cc9ff374 (diff)
downloadwireguard-go-111e0566dce3fc3489cb75ee40b752b1b738e9c6.tar.gz
wireguard-go-111e0566dce3fc3489cb75ee40b752b1b738e9c6.zip
device: make new peers inherit broken mobile semantics
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'device/device.go')
-rw-r--r--device/device.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/device/device.go b/device/device.go
index 7717494..91654c6 100644
--- a/device/device.go
+++ b/device/device.go
@@ -44,6 +44,7 @@ type Device struct {
netlinkCancel *rwcancel.RWCancel
port uint16 // listening port
fwmark uint32 // mark value (0 = disabled)
+ brokenRoaming bool
}
staticIdentity struct {