]> git.proxmox.com Git - mirror_frr.git/commit
ospf6d: set cmsg size correctly
authorChristian Franke <chris@opensourcerouting.org>
Fri, 8 Mar 2013 01:35:38 +0000 (02:35 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Wed, 20 Nov 2013 09:35:59 +0000 (10:35 +0100)
commit1579a67f130ca34df9acefac14ebcdfdd8f6600a
tree8c12770a8628fc786e08c08a125114f7d56b66d4
parent7d4aa1d57d54a57aae78e6b12cf4524e2c43a514
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>
ospf6d/ospf6_network.c