1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-26 09:25:23 +00:00

fix broken test again

This commit is contained in:
Darien Raymond 2018-11-21 17:15:41 +01:00
parent cfa7ee88ce
commit 92a6699706
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -25,11 +25,7 @@ func TestSockOptMark(t *testing.T) {
const mark = 1
dialer := DefaultSystemDialer{}
conn, err := dialer.Dial(context.Background(), nil, dest, &MemoryStreamConfig{
SocketSettings: &SocketConfig{
Mark: mark,
},
})
conn, err := dialer.Dial(context.Background(), nil, dest, &SocketConfig{Mark: mark})
common.Must(err)
defer conn.Close()