summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_sr.c
diff options
context:
space:
mode:
authorDon Slice <dslice@cumulusnetworks.com>2018-09-04 19:39:04 +0200
committerDon Slice <dslice@cumulusnetworks.com>2018-09-04 19:39:04 +0200
commit088f109866e7b66239c75573a895f54295a99494 (patch)
treebe85d7a696d7304bf5933e41d390921b0570e914 /ospfd/ospf_sr.c
parentMerge pull request #2966 from donaldsharp/v6_cleanup (diff)
downloadfrr-088f109866e7b66239c75573a895f54295a99494.tar.xz
frr-088f109866e7b66239c75573a895f54295a99494.zip
bgpd, ospfd, pimd, zebra: Convert more use_json locations to bool
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_sr.c')
-rw-r--r--ospfd/ospf_sr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_sr.c b/ospfd/ospf_sr.c
index 23dae6b08..62eca156f 100644
--- a/ospfd/ospf_sr.c
+++ b/ospfd/ospf_sr.c
@@ -2311,7 +2311,7 @@ DEFUN (show_ip_opsf_srdb,
int idx = 0;
struct in_addr rid;
struct sr_node *srn;
- uint8_t uj = use_json(argc, argv);
+ bool uj = use_json(argc, argv);
json_object *json = NULL, *json_node_array = NULL;
if (!OspfSR.enabled) {