summaryrefslogtreecommitdiff
path: root/pimd/pim_oil.c
diff options
context:
space:
mode:
Diffstat (limited to 'pimd/pim_oil.c')
-rw-r--r--pimd/pim_oil.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pimd/pim_oil.c b/pimd/pim_oil.c
index 68f7dae128..1290bfe56b 100644
--- a/pimd/pim_oil.c
+++ b/pimd/pim_oil.c
@@ -79,16 +79,16 @@ static int pim_channel_oil_compare(struct channel_oil *c1,
return 0;
}
-static int pim_oil_equal(const void *arg1, const void *arg2)
+static bool pim_oil_equal(const void *arg1, const void *arg2)
{
const struct channel_oil *c1 = (const struct channel_oil *)arg1;
const struct channel_oil *c2 = (const struct channel_oil *)arg2;
if ((c1->oil.mfcc_mcastgrp.s_addr == c2->oil.mfcc_mcastgrp.s_addr)
&& (c1->oil.mfcc_origin.s_addr == c2->oil.mfcc_origin.s_addr))
- return 1;
+ return true;
- return 0;
+ return false;
}
static unsigned int pim_oil_hash_key(void *arg)