summaryrefslogtreecommitdiff
path: root/zebra/zebra_vty.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_vty.c')
-rw-r--r--zebra/zebra_vty.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c
index 87daeac694..9c57381165 100644
--- a/zebra/zebra_vty.c
+++ b/zebra/zebra_vty.c
@@ -1237,9 +1237,8 @@ static void do_show_route_helper(struct vty *vty, struct zebra_vrf *zvrf,
}
}
- if (use_json) {
+ if (use_json)
vty_json(vty, json);
- }
}
static void do_show_ip_route_all(struct vty *vty, struct zebra_vrf *zvrf,