mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 04:36:45 +00:00
Merge pull request #3555 from pguibert6WIND/bgp_wording_vrf_table
bgpd: use the wording vrf instead of table
This commit is contained in:
commit
488d9e864b
@ -9542,12 +9542,14 @@ void route_vty_out_detail_header(struct vty *vty, struct bgp *bgp,
|
||||
vty_out(vty, "Paths: (%d available", count);
|
||||
if (best) {
|
||||
vty_out(vty, ", best #%d", best);
|
||||
if (safi == SAFI_UNICAST)
|
||||
vty_out(vty, ", table %s",
|
||||
(bgp->inst_type
|
||||
== BGP_INSTANCE_TYPE_DEFAULT)
|
||||
? VRF_DEFAULT_NAME
|
||||
: bgp->name);
|
||||
if (safi == SAFI_UNICAST) {
|
||||
if (bgp->inst_type == BGP_INSTANCE_TYPE_DEFAULT)
|
||||
vty_out(vty, ", table %s",
|
||||
VRF_DEFAULT_NAME);
|
||||
else
|
||||
vty_out(vty, ", vrf %s",
|
||||
bgp->name);
|
||||
}
|
||||
} else
|
||||
vty_out(vty, ", no best path");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user