Update dependencies
This commit is contained in:
1 parent
89074a14b6
commit
bbf25b14d9
3 files changed
+24
-26
No files matched your search
@@ -29,7 +29,7 @@ type deviceNet struct {
|
||||
|
||||
func newDeviceNet(interfaceName string) *deviceNet {
|
||||
var dialer net.Dialer
|
||||
bindControl := control.BindToInterface(control.DefaultInterfaceFinder(), interfaceName, -1)
|
||||
bindControl := control.BindToInterface(control.NewDefaultInterfaceFinder(), interfaceName, -1)
|
||||
dialer.Control = control.Append(dialer.Control, bindControl)
|
||||
return &deviceNet{dialer: dialer}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user