mirror of https://github.com/v2ray/v2ray-core
fix test break
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