From 7dba67ff25ef5b11fcf63dbd12a40de3f21630e9 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Mon, 23 Sep 2019 13:46:55 -0400 Subject: [PATCH] bgpd: Do not display 'X' as part of outgoing route-map name The peer's outgoing routemap should not be displaying a 'X' appended to the front of the name. This will create confusion. Signed-off-by: Donald Sharp --- bgpd/bgp_updgrp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bgpd/bgp_updgrp.c b/bgpd/bgp_updgrp.c index de7b05bdd9..0a5106a083 100644 --- a/bgpd/bgp_updgrp.c +++ b/bgpd/bgp_updgrp.c @@ -570,8 +570,7 @@ static int update_group_show_walkcb(struct update_group *updgrp, void *arg) vty_out(vty, " Created: %s", timestamp_string(updgrp->uptime)); filter = &updgrp->conf->filter[updgrp->afi][updgrp->safi]; if (filter->map[RMAP_OUT].name) - vty_out(vty, " Outgoing route map: %s%s\n", - filter->map[RMAP_OUT].map ? "X" : "", + vty_out(vty, " Outgoing route map: %s\n", filter->map[RMAP_OUT].name); vty_out(vty, " MRAI value (seconds): %d\n", updgrp->conf->v_routeadv); if (updgrp->conf->change_local_as) -- 2.39.5