aboutsummaryrefslogtreecommitdiffstats
path: root/device/allowedips.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-02-10 01:01:37 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2021-02-10 01:01:37 +0100
commit747f5440bc18492a63eb91cba7db72b16c96176d (patch)
tree7cfa396f4d585518872f81a2717558fecc851074 /device/allowedips.go
parentconn: close old fd before trying again (diff)
downloadwireguard-go-747f5440bc18492a63eb91cba7db72b16c96176d.tar.xz
wireguard-go-747f5440bc18492a63eb91cba7db72b16c96176d.zip
device: retry Up() in up/down test
We're loosing our ownership of the port when bringing the device down, which means another test process could reclaim it. Avoid this by retrying for 4 seconds. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'device/allowedips.go')
0 files changed, 0 insertions, 0 deletions