commit | 1579a67f130ca34df9acefac14ebcdfdd8f6600a | [log] [tgz] |
---|---|---|
author | Christian Franke <chris@opensourcerouting.org> | Fri Mar 08 02:35:38 2013 +0100 |
committer | David Lamparter <equinox@opensourcerouting.org> | Wed Nov 20 10:35:59 2013 +0100 |
tree | 8c12770a8628fc786e08c08a125114f7d56b66d4 | |
parent | 7d4aa1d57d54a57aae78e6b12cf4524e2c43a514 [diff] |
ospf6d: set cmsg size correctly On both Linux and FreeBSD, msg_controllen should be set to CMSG_LEN, not CMSG_SPACE. This avoids sending 4 bytes of trailing garbage to the kernel. Signed-off-by: Christian Franke <chris@opensourcerouting.org>