]> git.proxmox.com Git - mirror_frr.git/commitdiff
zebra: resolved problem with show ip route vrf
authorDon Slice <dslice@cumulusnetworks.com>
Mon, 27 Jun 2016 15:31:57 +0000 (08:31 -0700)
committerDon Slice <dslice@cumulusnetworks.com>
Mon, 27 Jun 2016 15:31:57 +0000 (08:31 -0700)
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

index 185f8669166f57d87095905d4db7e7aa5455b06d..e9090cbed2e52117e880bb9f78a4b07b242650ef 100644 (file)
@@ -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,