]> git.puffer.fish Git - matthieu/frr.git/commit
pimd: Fixing coverity issues
authorSai Gomathi <nsaigomathi@vmware.com>
Tue, 24 Aug 2021 17:40:03 +0000 (10:40 -0700)
committerSai Gomathi <nsaigomathi@vmware.com>
Tue, 24 Aug 2021 17:40:03 +0000 (10:40 -0700)
commit50975049f3722cc2b06f1a640b61da1bdfe5acf7
tree330f6e921e70050978ef17a7adfe70efca2d1ad0
parent9a15529cdafe7b9f9785788afc2b4c399e2103ae
pimd: Fixing coverity issues

Problem
======
In pim_msg_send_frame api, the while loop was executed only once.

Fix
===
while is changed to if, as in the code flow
the while part is getting executed only once.

Signed-off-by: Sai Gomathi <nsaigomathi@vmware.com>
pimd/pim_pim.c