summaryrefslogtreecommitdiff
path: root/pimd/pim_msdp.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2018-10-23 12:31:25 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2018-10-23 12:31:25 +0200
commit064518517c57024e65e177ee79c0a98f9f28ef6e (patch)
treedcc1d14ad647a210ef2d93da4fe827d9337ada4b /pimd/pim_msdp.c
parent920b243c1b154476ab9a629ac002817ead5a1efa (diff)
parentd17743d390757c170bad6a776de43d1809afe3c3 (diff)
Merge branch 'pull/3197'
...with a nit fix Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'pimd/pim_msdp.c')
-rw-r--r--pimd/pim_msdp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_msdp.c b/pimd/pim_msdp.c
index 9ef343a0c5..807ad2bd12 100644
--- a/pimd/pim_msdp.c
+++ b/pimd/pim_msdp.c
@@ -687,7 +687,7 @@ static unsigned int pim_msdp_sa_hash_key_make(void *p)
return (jhash_2words(sa->sg.src.s_addr, sa->sg.grp.s_addr, 0));
}
-static int pim_msdp_sa_hash_eq(const void *p1, const void *p2)
+static bool pim_msdp_sa_hash_eq(const void *p1, const void *p2)
{
const struct pim_msdp_sa *sa1 = p1;
const struct pim_msdp_sa *sa2 = p2;
@@ -1221,7 +1221,7 @@ static unsigned int pim_msdp_peer_hash_key_make(void *p)
return (jhash_1word(mp->peer.s_addr, 0));
}
-static int pim_msdp_peer_hash_eq(const void *p1, const void *p2)
+static bool pim_msdp_peer_hash_eq(const void *p1, const void *p2)
{
const struct pim_msdp_peer *mp1 = p1;
const struct pim_msdp_peer *mp2 = p2;