summaryrefslogtreecommitdiffstats
path: root/zebra
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2019-02-25 19:55:37 +0100
committerQuentin Young <qlyoung@cumulusnetworks.com>2019-02-26 00:00:16 +0100
commitb08047f82d887d1ea639bbfe97147b46572099d5 (patch)
tree0651f297cdb62015696c6f75e8c4f8ae34f2b7f2 /zebra
parent*: use proper bool initializers & fix comparisons (diff)
downloadfrr-b08047f82d887d1ea639bbfe97147b46572099d5.tar.xz
frr-b08047f82d887d1ea639bbfe97147b46572099d5.zip
*: return bool from boolean functions
Not 1 or 0. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'zebra')
-rw-r--r--zebra/zebra_pbr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_pbr.c b/zebra/zebra_pbr.c
index 348bdeb9f..73db567ea 100644
--- a/zebra/zebra_pbr.c
+++ b/zebra/zebra_pbr.c
@@ -388,7 +388,7 @@ bool zebra_pbr_iptable_hash_equal(const void *arg1, const void *arg2)
r2 = (const struct zebra_pbr_iptable *)arg2;
if (r1->vrf_id != r2->vrf_id)
- return 0;
+ return false;
if (r1->type != r2->type)
return false;
if (r1->unique != r2->unique)