summaryrefslogtreecommitdiff
path: root/ripd/rip_main.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-01-04 19:08:10 -0200
committerRenato Westphal <renato@opensourcerouting.org>2019-01-18 16:15:41 -0200
commite35356af91b72da7f4e7fe03c43babb51e369bc0 (patch)
treea4e4be9b32e927ebdd989c5bd56baecaf15ccf55 /ripd/rip_main.c
parent37345802af89567a5238d8894c0ef4e273c9d0c0 (diff)
ripd: switch from sendto() to sendmsg()
For unknown reasons, the IP_MULTICAST_IF sockoption doesn't seem to work when the given socket is bound to a VRF device on Linux. Switch from sendto() to sendmsg() so that we can specify the outgoing interface of multicast packets using IP_PKTINFO ancillary data. This also makes ripd more consistent with ripngd, which also uses sendmsg() to send packets on the wire. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ripd/rip_main.c')
0 files changed, 0 insertions, 0 deletions