pimd: Note when rpf_update fails

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2020-03-18 07:41:03 -04:00
parent d1ba1814bc
commit f7cd1091b7

View File

@ -253,8 +253,17 @@ static void pim_vxlan_orig_mr_up_del(struct pim_vxlan_sg *vxlan_sg)
/* if there are other references register the source
* for nht
*/
if (up)
pim_rpf_update(vxlan_sg->pim, up, NULL, __func__);
if (up) {
enum pim_rpf_result r;
r = pim_rpf_update(vxlan_sg->pim, up, NULL, __func__);
if (r == PIM_RPF_FAILURE) {
if (PIM_DEBUG_VXLAN)
zlog_debug(
"vxlan SG %s rpf_update failure",
vxlan_sg->sg_str);
}
}
}
}