summaryrefslogtreecommitdiff
path: root/pimd/pim_msg.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-12-08 15:53:06 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-12-21 20:26:19 -0500
commitfa8489cb5cdb0b95955bfa15d3eebf377effd360 (patch)
treeb379eba407bdd610615bff0900a65915eac4e7fa /pimd/pim_msg.c
parent38f380f56d703a75480aa4329ad5b5ccf2908edf (diff)
pimd: Don't send (S,G)RPT prune
Sending (S,G)RPT prune was causing issues due to not handling it properly at this point in time. So just don't send it right now Ticket: CM-13969 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_msg.c')
-rw-r--r--pimd/pim_msg.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/pimd/pim_msg.c b/pimd/pim_msg.c
index 0de9518d76..d511123f98 100644
--- a/pimd/pim_msg.c
+++ b/pimd/pim_msg.c
@@ -207,6 +207,11 @@ pim_msg_join_prune_encode (uint8_t *buf, int buf_size, int is_join,
}
remain = pim_msg_curr - pim_msg;
+ /*
+ * This is not implemented correctly at this point in time
+ * Make it stop.
+ */
+#if 0
if (up->sg.src.s_addr == INADDR_ANY)
{
struct pim_upstream *child;
@@ -267,7 +272,7 @@ pim_msg_join_prune_encode (uint8_t *buf, int buf_size, int is_join,
}
}
}
-
+#endif
pim_msg_build_header (pim_msg, remain, PIM_MSG_TYPE_JOIN_PRUNE);
return remain;