summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSri Mohana Singamsetty <srimohans@gmail.com>2021-09-22 16:17:50 -0700
committerGitHub <noreply@github.com>2021-09-22 16:17:50 -0700
commiteb4738eb8f7718eefa57a752ddaf07bd372685b7 (patch)
tree4bbc42a839a499aafc855b25a2d9c49b69eb84e6
parenta8a5b215148a1b5857085e4318a6e9af876453df (diff)
parent700ddfed69f482e1bb0408530b071a1041b63746 (diff)
Merge pull request #9653 from pguibert6WIND/carriage_return
bgpd: add carriage return when dumping tags from all evpn rds
-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,