summaryrefslogtreecommitdiffstats
path: root/pimd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-09-29 18:42:08 +0200
committerDonald Sharp <sharpd@cumulusnetwroks.com>2016-05-26 02:38:34 +0200
commit8044778111745532ee86d285deafe5e8a4144b9b (patch)
tree6173cb317153b01640781e9ff1e572a7fa89e54d /pimd
parentImplement "ip pim rp X.Y.Z.A" and "ip pim sm" commands (diff)
downloadfrr-8044778111745532ee86d285deafe5e8a4144b9b.tar.xz
frr-8044778111745532ee86d285deafe5e8a4144b9b.zip
pimd: Fix test_igmp_join code to handle thread_master * changes
Fixup of pimd to be cognizant of thread_master pointer changes Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd')
-rw-r--r--pimd/Makefile.am1
-rw-r--r--pimd/test_igmpv3_join.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/pimd/Makefile.am b/pimd/Makefile.am
index 3a6fb34ea..e839f9e21 100644
--- a/pimd/Makefile.am
+++ b/pimd/Makefile.am
@@ -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
diff --git a/pimd/test_igmpv3_join.c b/pimd/test_igmpv3_join.c
index fe64fbc00..6f1e34de8 100644
--- a/pimd/test_igmpv3_join.c
+++ b/pimd/test_igmpv3_join.c
@@ -30,8 +30,10 @@
#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)