Merge pull request #3555 from pguibert6WIND/bgp_wording_vrf_table

bgpd: use the wording vrf instead of table
This commit is contained in:
Russ White 2019-06-04 09:14:37 -04:00 committed by GitHub
commit 488d9e864b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9542,12 +9542,14 @@ void route_vty_out_detail_header(struct vty *vty, struct bgp *bgp,
vty_out(vty, "Paths: (%d available", count); vty_out(vty, "Paths: (%d available", count);
if (best) { if (best) {
vty_out(vty, ", best #%d", best); vty_out(vty, ", best #%d", best);
if (safi == SAFI_UNICAST) if (safi == SAFI_UNICAST) {
vty_out(vty, ", table %s", if (bgp->inst_type == BGP_INSTANCE_TYPE_DEFAULT)
(bgp->inst_type vty_out(vty, ", table %s",
== BGP_INSTANCE_TYPE_DEFAULT) VRF_DEFAULT_NAME);
? VRF_DEFAULT_NAME else
: bgp->name); vty_out(vty, ", vrf %s",
bgp->name);
}
} else } else
vty_out(vty, ", no best path"); vty_out(vty, ", no best path");