Commit 65ebd845 authored by Pavel Emelyanov's avatar Pavel Emelyanov

check: Fix peek_off getting

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 12c58017
......@@ -52,6 +52,7 @@ static int check_sock_peek_off(void)
return -1;
}
sz = sizeof(off);
ret = getsockopt(sk, SOL_SOCKET, SO_PEEK_OFF, &off, (socklen_t *)&sz);
close(sk);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment