summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_mpls_vty.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 /zebra/zebra_mpls_vty.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 'zebra/zebra_mpls_vty.c')
-rw-r--r--zebra/zebra_mpls_vty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zebra_mpls_vty.c b/zebra/zebra_mpls_vty.c
index 2e02b1231..796aa3f66 100644
--- a/zebra/zebra_mpls_vty.c
+++ b/zebra/zebra_mpls_vty.c
@@ -339,7 +339,7 @@ DEFUN (show_mpls_table,
JSON_STR)
{
struct zebra_vrf *zvrf;
- uint8_t uj = use_json(argc, argv);
+ bool uj = use_json(argc, argv);
zvrf = vrf_info_lookup(VRF_DEFAULT);
zebra_mpls_print_lsp_table(vty, zvrf, uj);
@@ -357,7 +357,7 @@ DEFUN (show_mpls_table_lsp,
{
uint32_t label;
struct zebra_vrf *zvrf;
- uint8_t uj = use_json(argc, argv);
+ bool uj = use_json(argc, argv);
zvrf = vrf_info_lookup(VRF_DEFAULT);
label = atoi(argv[3]->arg);