]> git.proxmox.com Git - mirror_frr.git/commit - lib/vrf.c
*: Replace hash_cmp function return value to a bool
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 17 Oct 2018 19:27:12 +0000 (15:27 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 19 Oct 2018 17:14:45 +0000 (13:14 -0400)
commit74df8d6d9d665784b0273151fe04cd2f9ff5b353
tree7b0d38ba7c6e9605634d40a64c4b904295d59d80
parent27fa33984bd6276942459a4c68abd15d04a9333e
*: Replace hash_cmp function return value to a bool

The ->hash_cmp and linked list ->cmp functions were sometimes
being used interchangeably and this really is not a good
thing.  So let's modify the hash_cmp function pointer to return
a boolean and convert everything to use the new syntax.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
52 files changed:
bfdd/bfd.c
bgpd/bgp_advertise.c
bgpd/bgp_advertise.h
bgpd/bgp_aspath.c
bgpd/bgp_aspath.h
bgpd/bgp_attr.c
bgpd/bgp_attr.h
bgpd/bgp_community.c
bgpd/bgp_community.h
bgpd/bgp_ecommunity.c
bgpd/bgp_ecommunity.h
bgpd/bgp_evpn.c
bgpd/bgp_keepalives.c
bgpd/bgp_lcommunity.c
bgpd/bgp_lcommunity.h
bgpd/bgp_nexthop.c
bgpd/bgp_pbr.c
bgpd/bgp_pbr.h
bgpd/bgp_updgrp.c
bgpd/bgpd.c
isisd/fabricd.c
isisd/isis_spf_private.h
isisd/isis_tx_queue.c
lib/command.c
lib/distribute.c
lib/ferr.c
lib/hash.c
lib/hash.h
lib/if_rmap.c
lib/qobj.c
lib/routemap.c
lib/table.c
lib/thread.c
lib/vrf.c
nhrpd/nhrp_cache.c
nhrpd/nhrp_peer.c
nhrpd/nhrp_vc.c
nhrpd/reqid.c
ospfd/ospf_sr.c
pbrd/pbr_nht.c
pimd/pim_igmp.c
pimd/pim_msdp.c
pimd/pim_oil.c
pimd/pim_rpf.c
pimd/pim_rpf.h
pimd/pim_upstream.c
pimd/pim_upstream.h
staticd/static_zebra.c
zebra/zebra_mpls.c
zebra/zebra_pbr.c
zebra/zebra_pbr.h
zebra/zebra_vxlan.c