From: Don Slice Date: Mon, 27 Jun 2016 15:31:57 +0000 (-0700) Subject: zebra: resolved problem with show ip route vrf X-Git-Tag: frr-2.0-rc1~496^2~4 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=abbda2d481aa1959b3f93efe3eb27397e58a3c18;p=matthieu%2Ffrr.git 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 --- 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,