]> git.proxmox.com Git - mirror_frr.git/commit - pimd/pim_mroute.c
pimd: add a workaround for *BSD
authorRenato Westphal <renato@opensourcerouting.org>
Thu, 4 Aug 2016 13:07:30 +0000 (10:07 -0300)
committerDonald Sharp <sharpd@cumulusnetwroks.com>
Mon, 8 Aug 2016 01:05:26 +0000 (21:05 -0400)
commitb3f2bf7cbe92b1ee6942f68038f17a3329c61f06
treebf43821b84fa65934d89c27704e3c5117c679cb2
parent2bb913f5e77157fa8424d7ff0b46b8743112f955
pimd: add a workaround for *BSD

VIFF_USE_IFINDEX is not available on BSDs and other UNIX systems. In
order to build pimd on these platforms, use 'vifc_lcl_addr' instead of
'vifc_lcl_ifindex' to specify the interfaces we want to enable forwarding
of multicast traffic. In the case of unnumbered interfaces, print an
error and return.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
configure.ac
pimd/pim_iface.c
pimd/pim_mroute.c