summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_updgrp.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-09-23 19:46:55 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-09-23 19:46:55 +0200
commit7dba67ff25ef5b11fcf63dbd12a40de3f21630e9 (patch)
tree60ac1b3faa21463217157a130d68129baa116cb2 /bgpd/bgp_updgrp.c
parentMerge pull request #5031 from donaldsharp/ip_protocol_doc_update (diff)
downloadfrr-7dba67ff25ef5b11fcf63dbd12a40de3f21630e9.tar.xz
frr-7dba67ff25ef5b11fcf63dbd12a40de3f21630e9.zip
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 <sharpd@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_updgrp.c')
-rw-r--r--bgpd/bgp_updgrp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bgpd/bgp_updgrp.c b/bgpd/bgp_updgrp.c
index de7b05bdd..0a5106a08 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)