summaryrefslogtreecommitdiff
path: root/pimd/pim_msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'pimd/pim_msg.c')
-rw-r--r--pimd/pim_msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_msg.c b/pimd/pim_msg.c
index 12a043b650..1ae039e1c2 100644
--- a/pimd/pim_msg.c
+++ b/pimd/pim_msg.c
@@ -218,7 +218,7 @@ pim_msg_join_prune_encode (uint8_t *buf, int buf_size, int is_join,
{
if (child->sptbit == PIM_UPSTREAM_SPTBIT_TRUE)
{
- if (pim_rpf_is_same(&up->rpf, &child->rpf))
+ if (!pim_rpf_is_same(&up->rpf, &child->rpf))
{
zlog_debug ("%s: SPT Bit and RPF'(%s) != RPF'(S,G): Add Prune (%s,rpt) to compound message",
__PRETTY_FUNCTION__, star_g, pim_str_sg_dump (&child->sg));