summaryrefslogtreecommitdiff
path: root/pimd/pim_errors.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2022-12-12 17:50:59 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-05-09 13:54:43 +0000
commit66e45b9ce8e69caaa6baeefb524a37ef0464e115 (patch)
tree9f969e39b894c988df1703cbc111ce71118dad7f /pimd/pim_errors.c
parent20c7a92378bf0cd7a6fd00b6f39d26e9bce9f21f (diff)
pimd: fix order of operations for evaluating join
join_desired looks at whether up->channel_oil is empty. up->channel_oil is updated from pim_forward_stop(), calling pim_channel_del_oif(). But that was being called *after* updating join_desired, so join_desired saw a non-empty OIL. Pull up the pim_forward_stop() call to before updating join_desired. Signed-off-by: David Lamparter <equinox@opensourcerouting.org> (cherry picked from commit fdb1a6fed5a8e42447b5b9633ad9df0f3042d0a9)
Diffstat (limited to 'pimd/pim_errors.c')
0 files changed, 0 insertions, 0 deletions