Changed output of the "ipv6 route ... vrf red" to display and store with the
vrf name instead of the vrf_id, since the vrf_id would disappear on reboot
or quagga restart.
Ticket: CM-10126
Signed-off-by: Don Slice
Reviewed-by: Donald Sharp
vty_out (vty, " %d", si->distance);
if (si->vrf_id != VRF_DEFAULT)
- vty_out (vty, " vrf %u", si->vrf_id);
+ {
+ zvrf = vrf_info_lookup (si->vrf_id);
+ vty_out (vty, " vrf %s", zvrf->name);
+ }
vty_out (vty, "%s", VTY_NEWLINE);