Skip to content

Commit

Permalink
Merge pull request #15209 from opensourcerouting/fix/whitespaces
Browse files Browse the repository at this point in the history
bgpd: Use single whitespace when displaying show bgp summary
  • Loading branch information
donaldsharp authored Jan 24, 2024
2 parents 8754a64 + b261464 commit 1ea7398
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions bgpd/bgp_route.c
Original file line number Diff line number Diff line change
Expand Up @@ -11634,7 +11634,7 @@ static int bgp_show_table(struct vty *vty, struct bgp *bgp, afi_t afi, safi_t sa
total_count);
} else
vty_out(vty,
"\nDisplayed %ld routes and %ld total paths\n",
"\nDisplayed %ld routes and %ld total paths\n",
output_count, total_count);
}
}
Expand Down Expand Up @@ -11685,7 +11685,7 @@ int bgp_show_table_rd(struct vty *vty, struct bgp *bgp, afi_t afi, safi_t safi,
total_cum);
else
vty_out(vty,
"\nDisplayed %ld routes and %ld total paths\n",
"\nDisplayed %ld routes and %ld total paths\n",
output_cum, total_cum);
} else {
if (use_json && output_cum == 0 && json_header_depth == 0)
Expand Down
12 changes: 6 additions & 6 deletions doc/user/bgp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3786,7 +3786,7 @@ When default route is present in R2'2 BGP table, 10.139.224.0/20 and 192.0.2.1/3
*> 192.0.2.1/32 10.10.10.1 0 0 1 i
*> 192.0.2.5/32 10.10.10.1 0 0 1 i
Displayed 4 routes and 4 total paths
Displayed 4 routes and 4 total paths
Router2# show ip bgp neighbors 10.10.20.3
!--- Output suppressed.
Expand Down Expand Up @@ -3834,7 +3834,7 @@ When default route is not present in R2'2 BGP table, 10.139.224.0/20 and 192.0.2
*> 192.0.2.1/32 10.10.10.1 0 0 1 i
*> 192.0.2.5/32 10.10.10.1 0 0 1 i
Displayed 3 routes and 3 total paths
Displayed 3 routes and 3 total paths
Router2# show ip bgp neighbors 10.10.20.3
Expand Down Expand Up @@ -4455,7 +4455,7 @@ incoming/outgoing directions.
Origin incomplete, metric 0, weight 32768, valid, sourced, bestpath-from-AS Local, best (First path received)
Last update: Wed May 8 12:54:41 2023
Displayed 2 routes and 2 total paths
Displayed 2 routes and 2 total paths
.. code-block:: frr
Expand All @@ -4480,7 +4480,7 @@ incoming/outgoing directions.
Origin incomplete, metric 0, weight 32768, valid, sourced, bestpath-from-AS Local, best (First path received)
Last update: Wed May 8 12:45:01 2023
Displayed 2 routes and 2 total paths
Displayed 2 routes and 2 total paths
Instance vrf3:
Expand All @@ -4505,7 +4505,7 @@ incoming/outgoing directions.
Extended Community: RT:65000:1009 ET:8 Rmac:00:02:00:00:00:58
Last update: Fri May 8 02:41:55 2023
Displayed 2 routes and 2 total paths
Displayed 2 routes and 2 total paths
.. code-block:: frr
Expand Down Expand Up @@ -4533,7 +4533,7 @@ incoming/outgoing directions.
Extended Community: RT:65000:1009 ET:8 Rmac:00:02:00:00:00:58
Last update: Fri May 8 02:23:55 2023
Displayed 2 routes and 2 total paths
Displayed 2 routes and 2 total paths
.. _bgp-display-routes-by-community:

Expand Down

0 comments on commit 1ea7398

Please sign in to comment.