summaryrefslogtreecommitdiffhomepage
path: root/conn.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-14 03:00:40 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-14 03:26:38 +0200
commit0fb14232fab8b9112b3cffa299ad9edf34191a9a (patch)
treeecad1c92368fa61ba21ea73d6211589278d87f2a /conn.go
parent659106bd6d7a6f40310e5704812c6c9fbb96f06c (diff)
Look up route for every peer
Diffstat (limited to 'conn.go')
-rw-r--r--conn.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/conn.go b/conn.go
index 4b347ec..92f4cfe 100644
--- a/conn.go
+++ b/conn.go
@@ -123,7 +123,7 @@ func (device *Device) BindUpdate() error {
var err error
netc := &device.net
- netc.bind, netc.port, err = CreateBind(netc.port)
+ netc.bind, netc.port, err = CreateBind(netc.port, device)
if err != nil {
netc.bind = nil
netc.port = 0