From 841f7a57b13b8cba4efd51db4e7ac13fd403b17b Mon Sep 17 00:00:00 2001 From: Denis Ovsienko Date: Thu, 10 Apr 2008 11:47:45 +0000 Subject: + [bgpd] Added new route-map set statement: "as-path ignore" --- bgpd/bgp_route.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bgpd/bgp_route.c') diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 9ddeca54..4fbc4bab 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -5694,7 +5694,7 @@ route_vty_out (struct vty *vty, struct prefix *p, /* Print aspath */ if (attr->aspath) - aspath_print_vty (vty, "%s ", attr->aspath); + aspath_print_vty (vty, "%s", attr->aspath, " "); /* Print origin */ vty_out (vty, "%s", bgp_origin_str[attr->origin]); @@ -5759,7 +5759,7 @@ route_vty_out_tmp (struct vty *vty, struct prefix *p, /* Print aspath */ if (attr->aspath) - aspath_print_vty (vty, "%s ", attr->aspath); + aspath_print_vty (vty, "%s", attr->aspath, " "); /* Print origin */ vty_out (vty, "%s", bgp_origin_str[attr->origin]); @@ -5859,7 +5859,7 @@ damp_route_vty_out (struct vty *vty, struct prefix *p, { /* Print aspath */ if (attr->aspath) - aspath_print_vty (vty, "%s ", attr->aspath); + aspath_print_vty (vty, "%s", attr->aspath, " "); /* Print origin */ vty_out (vty, "%s", bgp_origin_str[attr->origin]); @@ -5922,7 +5922,7 @@ flap_route_vty_out (struct vty *vty, struct prefix *p, { /* Print aspath */ if (attr->aspath) - aspath_print_vty (vty, "%s ", attr->aspath); + aspath_print_vty (vty, "%s", attr->aspath, " "); /* Print origin */ vty_out (vty, "%s", bgp_origin_str[attr->origin]); @@ -5950,7 +5950,7 @@ route_vty_out_detail (struct vty *vty, struct bgp *bgp, struct prefix *p, if (aspath_count_hops (attr->aspath) == 0) vty_out (vty, "Local"); else - aspath_print_vty (vty, "%s", attr->aspath); + aspath_print_vty (vty, "%s", attr->aspath, ""); } if (CHECK_FLAG (binfo->flags, BGP_INFO_REMOVED)) -- cgit v1.2.1