aboutsummaryrefslogtreecommitdiffstats
path: root/conn.go
diff options
context:
space:
mode:
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