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>
This commit is contained in:
Donald Sharp 2019-09-23 13:46:55 -04:00
parent 7d7828cf25
commit 7dba67ff25

View File

@ -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)); vty_out(vty, " Created: %s", timestamp_string(updgrp->uptime));
filter = &updgrp->conf->filter[updgrp->afi][updgrp->safi]; filter = &updgrp->conf->filter[updgrp->afi][updgrp->safi];
if (filter->map[RMAP_OUT].name) if (filter->map[RMAP_OUT].name)
vty_out(vty, " Outgoing route map: %s%s\n", vty_out(vty, " Outgoing route map: %s\n",
filter->map[RMAP_OUT].map ? "X" : "",
filter->map[RMAP_OUT].name); filter->map[RMAP_OUT].name);
vty_out(vty, " MRAI value (seconds): %d\n", updgrp->conf->v_routeadv); vty_out(vty, " MRAI value (seconds): %d\n", updgrp->conf->v_routeadv);
if (updgrp->conf->change_local_as) if (updgrp->conf->change_local_as)