mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 23:47:07 -05:00
fix test break
This commit is contained in:
parent
a83009afc4
commit
9876844296
@ -24,10 +24,7 @@ func TestHubSocksOption(t *testing.T) {
|
||||
assert.Error(err).IsNil()
|
||||
conn := hub.Connection()
|
||||
|
||||
sysfd, err := internal.GetSysFd(conn)
|
||||
assert.Error(err).IsNil()
|
||||
|
||||
fd, err := sysfd.SysFd()
|
||||
fd, err := internal.GetSysFd(conn)
|
||||
assert.Error(err).IsNil()
|
||||
|
||||
v, err := syscall.GetsockoptInt(fd, syscall.SOL_IP, syscall.IP_TRANSPARENT)
|
||||
|
Loading…
Reference in New Issue
Block a user