]> git.puffer.fish Git - matthieu/frr.git/commitdiff
pimd: Fix test_igmp_join code to handle thread_master * changes
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 29 Sep 2015 16:42:08 +0000 (09:42 -0700)
committerDonald Sharp <sharpd@cumulusnetwroks.com>
Thu, 26 May 2016 00:38:34 +0000 (20:38 -0400)
Fixup of pimd to be cognizant of thread_master pointer changes

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/Makefile.am
pimd/test_igmpv3_join.c

index 3a6fb34ea84d4a75a0da798ebf27808f50dcd040..e839f9e21331d4740620cd529cbf65001dbb281b 100644 (file)
@@ -71,6 +71,7 @@ test_igmpv3_join_SOURCES = \
        test_igmpv3_join.c pim_igmp_join.c
 
 pimd_LDADD = ../lib/libzebra.la @LIBCAP@
+test_igmpv3_join_LDADD = ../lib/libzebra.la
 
 examplesdir = $(exampledir)
 dist_examples_DATA = pimd.conf.sample
index fe64fbc005da6ca5ba1262967ea8342df29d55f3..6f1e34de886b6f84b564e9b32aa1fd972e55b7fc 100644 (file)
 #include <net/if.h>
 #include <arpa/inet.h>
 
+#include "thread.h"
 #include "pim_igmp_join.h"
 
+struct thread_master *master;
 const char *prog_name = 0;
 
 static int iface_solve_index(const char *ifname)