From 3e73c519a55191827dcc6e98ea0ffe977acbb73f Mon Sep 17 00:00:00 2001 From: Ayush Ranjan Date: Wed, 18 Nov 2020 13:40:23 -0800 Subject: [netstack] Move SO_NO_CHECK option to SocketOptions. PiperOrigin-RevId: 343146856 --- test/syscalls/linux/socket_generic.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/syscalls/linux/socket_generic.cc') diff --git a/test/syscalls/linux/socket_generic.cc b/test/syscalls/linux/socket_generic.cc index c81ba031d..d17192c36 100644 --- a/test/syscalls/linux/socket_generic.cc +++ b/test/syscalls/linux/socket_generic.cc @@ -819,7 +819,7 @@ TEST_P(AllSocketPairTest, GetSockoptProtocol) { } TEST_P(AllSocketPairTest, SetAndGetBooleanSocketOptions) { - int sock_opts[] = {SO_BROADCAST, SO_PASSCRED}; + int sock_opts[] = {SO_BROADCAST, SO_PASSCRED, SO_NO_CHECK}; for (int sock_opt : sock_opts) { auto sockets = ASSERT_NO_ERRNO_AND_VALUE(NewSocketPair()); int enable = -1; -- cgit v1.2.3