From 03a6facfd3a48edc2e34c92bf6c970afd7bcc3c4 Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Mon, 17 Dec 2018 18:56:22 +0100 Subject: [PATCH] bgpd: bgp default vrf in show route naming change Default vrf name has been changed in show route. Because the default vrf name can be configured in zebra, the default vrf name in bgp is changed. Signed-off-by: Philippe Guibert --- bgpd/bgp_route.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 97aa189bac..d5a98e72f9 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -7863,7 +7863,7 @@ void route_vty_out_detail(struct vty *vty, struct bgp *bgp, struct prefix *p, if (path->extra->bgp_orig->inst_type == BGP_INSTANCE_TYPE_DEFAULT) - vn = "Default"; + vn = VRF_DEFAULT_NAME; else vn = path->extra->bgp_orig->name; -- 2.39.5