diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-11-03 15:44:24 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-12-21 20:26:13 -0500 |
| commit | 07d6bab3f2ab8919202c63c87df52b864d7ff321 (patch) | |
| tree | 7604bf5f8d2b9df9a5dd57b8fdf382d137696d30 /pimd/pim_msg.c | |
| parent | e5b6b229976e3ac9dc8f019337acf21391e7cf2f (diff) | |
pimd: Fix test for (S,G,rpt) prune inclusion.
The (S,G,rpt) prune inclusion was incorrectly considering
if the RPF' was the same for (S,G) and (*,G).
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_msg.c')
| -rw-r--r-- | pimd/pim_msg.c | 2 |
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)); |
