mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-04-30 09:18:34 +00:00
Update dependencies
This commit is contained in:
parent
89074a14b6
commit
bbf25b14d9
3 changed files with 24 additions and 26 deletions
|
@ -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}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue