]> git.puffer.fish Git - mirror/frr.git/commit
pim_mroute.h has a different version of code than linux/mroute.h provides
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 5 Jun 2015 19:15:44 +0000 (12:15 -0700)
committerDonald Sharp <sharpd@cumulusnetwroks.com>
Thu, 26 May 2016 00:38:32 +0000 (20:38 -0400)
commita724477d97709001bce8b004632d9e1e5adb36be
tree0ec439a1f94b6072a12754663c704b001d0a3525
parent60b40924ea6af9a88e82d8fdf5647c9663a9d66d
pim_mroute.h has a different version of code than linux/mroute.h provides

linux/mroutes.h and pim_mroute.h both have copies of the same structures.
This is causing failures in setsockopt(..., MRT_ADD_MFC,...) because
of data structure incompatibilities between the kernel and what
pim_mroute.h was providing.  Modify the code to check for mroute.h
and include it if necessary.  I did not modify the non linux/mroute.h
path because I do not have other systems to test on easily.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
configure.ac
pimd/pim_mroute.h