summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bgpd/bgp_route.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index 44629b3d7c..fc97178450 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -9314,7 +9314,8 @@ void route_vty_out_tag(struct vty *vty, const struct prefix *p,
vty_out(vty, "notag/%d", label);
vty_out(vty, "\n");
}
- }
+ } else if (!json)
+ vty_out(vty, "\n");
}
void route_vty_out_overlay(struct vty *vty, const struct prefix *p,