]> git.puffer.fish Git - mirror/frr.git/commit
pimd: relegate pim_igmp_join.c into a header file
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 28 Jul 2016 15:23:48 +0000 (17:23 +0200)
committerDonald Sharp <sharpd@cumulusnetwroks.com>
Thu, 28 Jul 2016 11:27:47 +0000 (07:27 -0400)
commit5ef104fc4131cacaf1843bb32e19d4b681fc5214
tree949ad77cae64df24ace365ed449eb48e38c8bf4d
parentd6f4a61dde127c6154f7933b0a4003740b6a0768
pimd: relegate pim_igmp_join.c into a header file

pim_igmp_join.c only exists to make some portability hacks available to
test_igmpv3_join.  The function only has 1 call site in each pimd and
the test tool, so it's nicely served as a simple static function in a
header file.

This removes a MTYPE related compiler/linker issue from referencing
lib/if.h in a binary that doesn't link libzebra, as test_igmpv3_join is
now fully independent of lib/.

(Fix by Christian Franke: remove stray leftover ifindex_t)

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
pimd/Makefile.am
pimd/pim_igmp_join.c [deleted file]
pimd/pim_igmp_join.h
pimd/test_igmpv3_join.c