diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2022-12-12 17:50:59 +0100 |
|---|---|---|
| committer | Jafar Al-Gharaibeh <jafar@atcorp.com> | 2024-05-10 16:06:28 -0500 |
| commit | cdbf788cedcf199ad2337951add4b48b17ced2ab (patch) | |
| tree | ac5d65cfc5497ffc1d5b89f79d2668913c2298fd /lib/command_py.c | |
| parent | 9c3e45a75f3599de844b4ce6bbd92cb65b330310 (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 'lib/command_py.c')
0 files changed, 0 insertions, 0 deletions
