aboutsummaryrefslogtreecommitdiffstats
path: root/src/conn.go
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2017-12-29 17:42:09 +0100
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2017-12-29 17:42:09 +0100
commitd73f960aab86b9a12b0b7d18aa80ce1d4f130695 (patch)
treeec4b6683c1c0b6b28a95b4bdb718dcc3faa0f222 /src/conn.go
parentRemoved IFF_NO_PI from TUN linux (diff)
downloadwireguard-go-d73f960aab86b9a12b0b7d18aa80ce1d4f130695.tar.xz
wireguard-go-d73f960aab86b9a12b0b7d18aa80ce1d4f130695.zip
Peer timer teardown
Diffstat (limited to 'src/conn.go')
-rw-r--r--src/conn.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conn.go b/src/conn.go
index 6d292d3..ddb7ed1 100644
--- a/src/conn.go
+++ b/src/conn.go
@@ -82,7 +82,7 @@ func updateBind(device *Device) error {
// open new sockets
- if device.tun.isUp.Get() {
+ if device.isUp.Get() {
device.log.Debug.Println("UDP bind updating")