diff options
author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-03-04 16:05:12 +0100 |
---|---|---|
committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-03-04 16:13:01 +0100 |
commit | 286bbbecb06e87d9f695bffbb0f92d6196465f26 (patch) | |
tree | 28dc66eeb83938e2bfde0dc8b26a16250d984fc0 /pimd/pim_upstream.h | |
parent | tools: Add coccinelle script to convert int to bool if returning value is bool (diff) | |
download | frr-286bbbecb06e87d9f695bffbb0f92d6196465f26.tar.xz frr-286bbbecb06e87d9f695bffbb0f92d6196465f26.zip |
pimd: Convert pim_upstream_evaluate_join_desired type to bool
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'pimd/pim_upstream.h')
-rw-r--r-- | pimd/pim_upstream.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_upstream.h b/pimd/pim_upstream.h index c717c467d..4d693b8b6 100644 --- a/pimd/pim_upstream.h +++ b/pimd/pim_upstream.h @@ -303,8 +303,8 @@ struct pim_upstream *pim_upstream_del(struct pim_instance *pim, struct pim_upstream *up, const char *name); -int pim_upstream_evaluate_join_desired(struct pim_instance *pim, - struct pim_upstream *up); +bool pim_upstream_evaluate_join_desired(struct pim_instance *pim, + struct pim_upstream *up); int pim_upstream_evaluate_join_desired_interface(struct pim_upstream *up, struct pim_ifchannel *ch, struct pim_ifchannel *starch); |