mirror of
https://github.com/e1732a364fed/v2ray_simple.git
synced 2025-12-24 13:27:56 +08:00
修复遗漏
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
||||
// SetSockOpt 是平台相关的.
|
||||
func SetSockOpt(fd int, sockopt *Sockopt, isudp bool, isipv6 bool) {
|
||||
if sockopt.Device != "" {
|
||||
bindToDevice(fd, sockopt.Device)
|
||||
bindToDevice(fd, sockopt.Device, isipv6)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user