summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorAyush Ranjan <ayushranjan@google.com>2020-11-18 13:40:23 -0800
committergVisor bot <gvisor-bot@google.com>2020-11-18 13:42:27 -0800
commit3e73c519a55191827dcc6e98ea0ffe977acbb73f (patch)
tree5d21f1bab06977bfe2c36051bcd72cc6d250c159 /test
parentd2b701758d3fb1c39162243521e6b985f8b5ef78 (diff)
[netstack] Move SO_NO_CHECK option to SocketOptions.
PiperOrigin-RevId: 343146856
Diffstat (limited to 'test')
-rw-r--r--test/syscalls/linux/socket_generic.cc2
1 files changed, 1 insertions, 1 deletions
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;