[bind10-dev] #1534, IPV6_USE_MIN_MTU and similar
Michal 'vorner' Vaner
michal.vaner at nic.cz
Thu Feb 16 12:10:52 UTC 2012
Hello
I tried to implement it, it is in the trac1534 branch (all the relevant changes
are in the last commit). However, I have a problem I'm not sure how to solve. I
took the code from bind9 and modified it, writing the tests to verify it works.
But when I run the test, it fails with this:
[ RUN ] get_sock.udp6_create
sockcreator_tests.cc:131: Failure
Value of: getsockopt(socknum, IPPROTO_IPV6, 24, &options, &len) // The 24 comes from the IPV6_MTU, expanded by preprocessor
Actual: -1
Expected: 0
Transport endpoint is not connected
sockcreator_tests.cc:132: Failure
Value of: options
Actual: 1
Expected: 1280
[ FAILED ] get_sock.udp6_create (0 ms)
I'm wondering, are we supposed to connect the socket, if it is UDP? Or setting
works but getting doesn't and the test should be omitted? Or, is something
really wrong?
Thank you
--
You can fool some of the people all of the time,
and all of the people some of the time,
but you can make a fool of yourself anytime.
Michal 'vorner' Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20120216/19117ed8/attachment.bin>
More information about the bind10-dev
mailing list