]> git.proxmox.com Git - mirror_frr.git/commit - pimd/pim_rpf.h
pimd: pim_nexthop_lookup should return true/false
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 1 Apr 2019 19:41:32 +0000 (15:41 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 2 Apr 2019 12:20:36 +0000 (08:20 -0400)
commitade155e146939906da26ce52f9edb1052fadd015
tree28a91b1de44e9f1597f16922ba040a2201e334ed
parentc9cd7fbc3f4e0c7722897db71220ae997de1975f
pimd: pim_nexthop_lookup should return true/false

The current reverse logic led to this code construct
if (!pim_nexthop_lookup(...)) {
//Do something successfull
}

This is backwards and will cause logic errors when people
use this code.  Fix to use true/false for success/failure.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/pim_cmd.c
pimd/pim_igmp_mtrace.c
pimd/pim_mroute.c
pimd/pim_rpf.c
pimd/pim_rpf.h