From abbda2d481aa1959b3f93efe3eb27397e58a3c18 Mon Sep 17 00:00:00 2001 From: Don Slice Date: Mon, 27 Jun 2016 08:31:57 -0700 Subject: [PATCH] zebra: resolved problem with show ip route vrf Repaired damage done by commit upstream, which changed the way show_ip_route is called to allow for multicast rpf table display. Matched the technique of the other callers to the new function. Ticket: CM-11345 Signed-off-by: Don Slice Reviewed By: Donald Sharp Testing Done: Manual testing and vrf-min --- zebra/zebra_vty.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c index 185f866916..e9090cbed2 100644 --- a/zebra/zebra_vty.c +++ b/zebra/zebra_vty.c @@ -2227,13 +2227,16 @@ do_show_ip_route(struct vty *vty, const char *vrf_name, safi_t safi) return CMD_SUCCESS; } -ALIAS (show_ip_route, +DEFUN (show_ip_route_vrf, show_ip_route_vrf_cmd, "show ip route " VRF_CMD_STR, SHOW_STR IP_STR "IP routing table\n" VRF_CMD_HELP_STR) +{ + return do_show_ip_route (vty, argv[0], SAFI_UNICAST); +} DEFUN (show_ip_nht, show_ip_nht_cmd, -- 2.39.5