<sigh> this patch is broken. I didn't remove the install_element. Sending a new patch here in a second.
donald On Wed, May 27, 2015 at 9:18 PM, Donald Sharp <[email protected]> wrote: > The 'show ip mroute' in zebra_vty.c collided with the > 'show ip mroute' command in pim_cmd.c. The 'show ip rpf' > command is functionally equivalent to the zebra_vty.c > 'show ip mroute'. Therefore remove the 'show ip mroute' command > in zebra_vty.c. > > Signed-off-by: Donald Sharp <[email protected]> > --- > zebra/zebra_vty.c | 35 ----------------------------------- > 1 file changed, 35 deletions(-) > > diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c > index d6f46dc..443a0db 100644 > --- a/zebra/zebra_vty.c > +++ b/zebra/zebra_vty.c > @@ -1950,41 +1950,6 @@ static_config_ipv4 (struct vty *vty, safi_t safi, > const char *cmd) > return write; > } > > -/* > - * Show IP mroute command to dump the BGP Multicast > - * routing table > - */ > -DEFUN (show_ip_mroute, > - show_ip_mroute_cmd, > - "show ip mroute", > - SHOW_STR > - IP_STR > - "IP Multicast routing table\n") > -{ > - struct route_table *table; > - struct route_node *rn; > - struct rib *rib; > - int first = 1; > - > - table = vrf_table (AFI_IP, SAFI_MULTICAST, 0); > - if (! table) > - return CMD_SUCCESS; > - > - /* Show all IPv4 routes. */ > - for (rn = route_top (table); rn; rn = route_next (rn)) > - RNODE_FOREACH_RIB (rn, rib) > - { > - if (first) > - { > - vty_out (vty, SHOW_ROUTE_V4_HEADER); > - first = 0; > - } > - vty_show_ip_route (vty, rn, rib); > - } > - return CMD_SUCCESS; > -} > - > - > #ifdef HAVE_IPV6 > /* General fucntion for IPv6 static route. */ > static int > -- > 1.7.10.4 > >
_______________________________________________ Quagga-dev mailing list [email protected] https://lists.quagga.net/mailman/listinfo/quagga-dev
