]> git.puffer.fish Git - mirror/frr.git/commit
pimd: Fix pim_channel_oil_empty tests
authorDonald Sharp <sharpd@nvidia.com>
Wed, 8 Jun 2022 20:51:48 +0000 (16:51 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 9 Jun 2022 13:36:11 +0000 (09:36 -0400)
commit30b82c7af79fc167c39c1063c4e269c29e108fe4
tree92cecf35490c28c09373b0192266f7db5132d665
parent121903bd01020a24df9c4679dd0b9ab2853a234b
pimd: Fix pim_channel_oil_empty tests

The pim_channel_oil_empty() function was setting
the pimreg if it ever existed for NULL comparison
but of course the pimreg device is never pulled back
out again when it was needed to be when the pimreg
is not present.

Commit: a5fa982256b23d53d5b833f75224fb7f96054b9b
broke this.

Fixes: #11368
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
pimd/pim_oil.c