diff options
| author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2024-12-11 10:39:36 -0300 |
|---|---|---|
| committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2024-12-11 10:39:36 -0300 |
| commit | 3b0b1adad72432c006a1e3683d99294ed4542c84 (patch) | |
| tree | 852ebfb79085fc8cb138c60134def5cdff3bb2f8 /pimd/pim_tib.c | |
| parent | ccb57ad10f81af33256761d18adaf37eb776e9d2 (diff) | |
pim6d: fix crash on clear ipv6 mroute
Fix crash on `clear ipv6 mroute` when using embedded RP.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_tib.c')
| -rw-r--r-- | pimd/pim_tib.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/pimd/pim_tib.c b/pimd/pim_tib.c index e21793b8ca..2786ba440d 100644 --- a/pimd/pim_tib.c +++ b/pimd/pim_tib.c @@ -115,13 +115,8 @@ bool tib_sg_gm_join(struct pim_instance *pim, pim_sgaddr sg, return false; } - if (!*oilp) { + if (!*oilp) *oilp = tib_sg_oil_setup(pim, sg, oif); -#if PIM_IPV == 6 - if (pim_embedded_rp_is_embedded(&sg.grp)) - (*oilp)->oil_ref_count--; -#endif /* PIM_IPV == 6 */ - } if (!*oilp) return false; |
