summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_vty.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_vty.c')
-rw-r--r--zebra/zebra_vty.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c
index 3978664db..a97672599 100644
--- a/zebra/zebra_vty.c
+++ b/zebra/zebra_vty.c
@@ -1231,8 +1231,9 @@ static int do_show_ip_route(struct vty *vty, const char *vrf_name, afi_t afi,
}
if (use_json) {
- vty_out(vty, "%s\n", json_object_to_json_string_ext(
- json, JSON_C_TO_STRING_PRETTY));
+ vty_out(vty, "%s\n",
+ json_object_to_json_string_ext(
+ json, JSON_C_TO_STRING_PRETTY));
json_object_free(json);
}
@@ -1620,8 +1621,9 @@ static void vty_show_ip_route_summary(struct vty *vty,
"FIB", zvrf_name(((rib_table_info_t *)table->info)->zvrf));
for (i = 0; i < ZEBRA_ROUTE_MAX; i++) {
- if ((rib_cnt[i] > 0) || (i == ZEBRA_ROUTE_BGP
- && rib_cnt[ZEBRA_ROUTE_IBGP] > 0)) {
+ if ((rib_cnt[i] > 0)
+ || (i == ZEBRA_ROUTE_BGP
+ && rib_cnt[ZEBRA_ROUTE_IBGP] > 0)) {
if (i == ZEBRA_ROUTE_BGP) {
vty_out(vty, "%-20s %-20d %-20d \n", "ebgp",
rib_cnt[ZEBRA_ROUTE_BGP],