summaryrefslogtreecommitdiffstats
path: root/lib/northbound_confd.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2019-02-25 19:51:33 +0100
committerQuentin Young <qlyoung@cumulusnetworks.com>2019-02-26 00:00:16 +0100
commitd8729f8cb55d118c1937b7d001d70d6ea4476e52 (patch)
tree0890eb18b74ac62411e8a991d0db2d1579042a46 /lib/northbound_confd.c
parentMerge pull request #3864 from qlyoung/fix-ospf-mtu-warning-style (diff)
downloadfrr-d8729f8cb55d118c1937b7d001d70d6ea4476e52.tar.xz
frr-d8729f8cb55d118c1937b7d001d70d6ea4476e52.zip
*: use proper bool initializers & fix comparisons
- bools should be initialized with true/false - bools do not need to be compared Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/northbound_confd.c')
-rw-r--r--lib/northbound_confd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/northbound_confd.c b/lib/northbound_confd.c
index a8e001781..a499d48c1 100644
--- a/lib/northbound_confd.c
+++ b/lib/northbound_confd.c
@@ -1383,7 +1383,7 @@ error:
static int frr_confd_finish(void)
{
- if (confd_connected == false)
+ if (!confd_connected)
return 0;
frr_confd_finish_cdb();