summaryrefslogtreecommitdiff
path: root/tools/docs/crypto/crypto_docs.py
diff options
context:
space:
mode:
authorYi Kong <yikong@google.com>2017-04-11 10:11:45 -0700
committerYi Kong <yikong@google.com>2017-04-13 10:55:03 -0700
commitbff60bcc92b1995153f8db2b22a930050769ff64 (patch)
treeeafa283c20a36a4320d6f39380279f40928f90b8 /tools/docs/crypto/crypto_docs.py
parente8e19d01bc66f2feaf26fb839ec2d91f9077921d (diff)
Let SocketTest#getTrafficClass allow ECN bits to be present
When calling Socket#setTrafficClass, we setsockopt for both IPV4 IP_TOS and IPV6 IPV6_TCLASS. However IP_TOS does not set the ECN bits on Linux and depending on which we use for getTrafficClass, we may or may not get the ECN bits. Update the test to accept either behaviour since they are both correct for their protocol stack. Test: libcore.java.net.SocketTest#test_setTrafficClass Change-Id: I9051e9c644c6c0f64e59f06da57a379c6a3a480a
Diffstat (limited to 'tools/docs/crypto/crypto_docs.py')
0 files changed, 0 insertions, 0 deletions