[quagga-dev 11587] [PATCH 2/2] Renamed "show ip/ipv6 mroute" to show ip/ipv6 mbgp

Balaji.G balajig81 at gmail.com
Sun Oct 19 19:46:46 BST 2014


Signed-off-by: Balaji.G <balajig81 at gmail.com>
---
 zebra/zebra_vty.c | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c
index baa60db..9a27e21 100644
--- a/zebra/zebra_vty.c
+++ b/zebra/zebra_vty.c
@@ -1180,12 +1180,12 @@ DEFUN (show_ip_protocol,
  * Show IP mroute command to dump the BGP Multicast
  * routing table
  */
-DEFUN (show_ip_mroute,
-       show_ip_mroute_cmd,
-       "show ip mroute",
+DEFUN (show_ip_mbgp,
+       show_ip_mbgp_cmd,
+       "show ip mbgp",
        SHOW_STR
        IP_STR
-       "IP Multicast routing table\n")
+       "MBGP routing table\n")
 {
   struct route_table *table;
   struct route_node *rn;
@@ -1932,12 +1932,12 @@ DEFUN (show_ipv6_route_summary,
  * the Multicast routing table.
  */
 
-DEFUN (show_ipv6_mroute,
-       show_ipv6_mroute_cmd,
-       "show ipv6 mroute",
+DEFUN (show_ipv6_mbgp,
+       show_ipv6_mbgp_cmd,
+       "show ipv6 mbgp",
        SHOW_STR
        IP_STR
-       "IPv6 Multicast routing table\n")
+       "MBGP routing table\n")
 {
   struct route_table *table;
   struct route_node *rn;
@@ -2104,8 +2104,8 @@ zebra_vty_init (void)
   install_element (ENABLE_NODE, &show_ip_route_supernets_cmd);
   install_element (ENABLE_NODE, &show_ip_route_summary_cmd);
 
-  install_element (VIEW_NODE, &show_ip_mroute_cmd);
-  install_element (ENABLE_NODE, &show_ip_mroute_cmd);
+  install_element (VIEW_NODE, &show_ip_mbgp_cmd);
+  install_element (ENABLE_NODE, &show_ip_mbgp_cmd);
 
 
 #ifdef HAVE_IPV6
@@ -2138,7 +2138,7 @@ zebra_vty_init (void)
   install_element (ENABLE_NODE, &show_ipv6_route_prefix_longer_cmd);
   install_element (ENABLE_NODE, &show_ipv6_route_summary_cmd);
 
-  install_element (VIEW_NODE, &show_ipv6_mroute_cmd);
-  install_element (ENABLE_NODE, &show_ipv6_mroute_cmd);
+  install_element (VIEW_NODE, &show_ipv6_mbgp_cmd);
+  install_element (ENABLE_NODE, &show_ipv6_mbgp_cmd);
 #endif /* HAVE_IPV6 */
 }
-- 
1.9.1





More information about the Quagga-dev mailing list