Commit 90e30a79 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[master] fix unit test

parent ff013364
...@@ -122,8 +122,8 @@ void addressFamilySpecificCheck(const sockaddr_in6*, const int socknum, ...@@ -122,8 +122,8 @@ void addressFamilySpecificCheck(const sockaddr_in6*, const int socknum,
// Some more checks for UDP - MTU // Some more checks for UDP - MTU
#ifdef IPV6_USE_MIN_MTU /* RFC 3542, not too common yet*/ #ifdef IPV6_USE_MIN_MTU /* RFC 3542, not too common yet*/
// use minimum MTU // use minimum MTU
EXPECT_EQ(getsockopt(socknum, IPPROTO_IPV6, IPV6_USE_MIN_MTU, &options, EXPECT_EQ(0, getsockopt(socknum, IPPROTO_IPV6, IPV6_USE_MIN_MTU,
&len)) << strerror(errno); &options, &len)) << strerror(errno);
EXPECT_NE(0, options); EXPECT_NE(0, options);
#else #else
// We do not check for the IPV6_MTU, because while setting works (eg. // We do not check for the IPV6_MTU, because while setting works (eg.
......
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