summaryrefslogtreecommitdiffstats
path: root/pimd/pim_macro.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-08-01 15:09:47 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-12-22 02:26:04 +0100
commit13376be4f28cbc99394452f50ce214f7127f2965 (patch)
treeb0d46b984274e2abb4e3019f376ef26ec4eddbbc /pimd/pim_macro.c
parentpimd: Fix pim_macro downstream_jpstate (diff)
downloadfrr-13376be4f28cbc99394452f50ce214f7127f2965.tar.xz
frr-13376be4f28cbc99394452f50ce214f7127f2965.zip
pimd: More macro fallout fix.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_macro.c')
-rw-r--r--pimd/pim_macro.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pimd/pim_macro.c b/pimd/pim_macro.c
index 8dbf851aa..62decfd5f 100644
--- a/pimd/pim_macro.c
+++ b/pimd/pim_macro.c
@@ -39,8 +39,7 @@
*/
static int downstream_jpstate_isjoined(const struct pim_ifchannel *ch)
{
- return (ch->ifjoin_state == PIM_IFJOIN_JOIN ||
- ch->ifjoin_state == PIM_IFJOIN_PRUNE_PENDING);
+ return (ch->ifjoin_state != PIM_IFJOIN_NOINFO);
}
/*