]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: Do not display 'X' as part of outgoing route-map name
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 23 Sep 2019 17:46:55 +0000 (13:46 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 23 Sep 2019 17:46:55 +0000 (13:46 -0400)
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>
bgpd/bgp_updgrp.c

index de7b05bdd932da4118c1660d2070d5a580124678..0a5106a083c278b8251264f9b334a676c18f291a 100644 (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));
        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)