summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2010-03-15 19:23:08 +0100
committerDavid Lamparter <equinox@diac24.net>2010-03-15 19:23:08 +0100
commit3274c89ef97e3c517617ae3d083d3306c0e1002c (patch)
tree3d43a5ae644d459cb8b0524c96d3a7ab4b444701
parent562c03c527aa3a0c1e58dd1dec1a30df5af67138 (diff)
downloadquagga-3274c89ef97e3c517617ae3d083d3306c0e1002c.tar.bz2
quagga-3274c89ef97e3c517617ae3d083d3306c0e1002c.tar.xz
pimd: rename vtysh cmds from mroute to mfib
-rw-r--r--pimd/pim_cmd.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c
index 9a5f3d88..e405c1f2 100644
--- a/pimd/pim_cmd.c
+++ b/pimd/pim_cmd.c
@@ -1963,7 +1963,7 @@ DEFUN (show_ip_multicast,
return CMD_SUCCESS;
}
-static void show_mroute(struct vty *vty)
+static void show_mfib(struct vty *vty)
{
struct listnode *node;
struct channel_oil *c_oil;
@@ -2023,18 +2023,18 @@ static void show_mroute(struct vty *vty)
}
}
-DEFUN (show_ip_mroute,
- show_ip_mroute_cmd,
- "show ip mroute",
+DEFUN (show_ip_mfib,
+ show_ip_mfib_cmd,
+ "show ip mfib",
SHOW_STR
IP_STR
MROUTE_STR)
{
- show_mroute(vty);
+ show_mfib(vty);
return CMD_SUCCESS;
}
-static void show_mroute_count(struct vty *vty)
+static void show_mfib_count(struct vty *vty)
{
struct listnode *node;
struct channel_oil *c_oil;
@@ -2080,15 +2080,15 @@ static void show_mroute_count(struct vty *vty)
}
}
-DEFUN (show_ip_mroute_count,
- show_ip_mroute_count_cmd,
- "show ip mroute count",
+DEFUN (show_ip_mfib_count,
+ show_ip_mfib_count_cmd,
+ "show ip mfib count",
SHOW_STR
IP_STR
MROUTE_STR
"Route and packet count data\n")
{
- show_mroute_count(vty);
+ show_mfib_count(vty);
return CMD_SUCCESS;
}
@@ -4164,8 +4164,8 @@ void pim_cmd_init()
install_element (VIEW_NODE, &show_ip_pim_upstream_join_desired_cmd);
install_element (VIEW_NODE, &show_ip_pim_upstream_rpf_cmd);
install_element (VIEW_NODE, &show_ip_multicast_cmd);
- install_element (VIEW_NODE, &show_ip_mroute_cmd);
- install_element (VIEW_NODE, &show_ip_mroute_count_cmd);
+ install_element (VIEW_NODE, &show_ip_mfib_cmd);
+ install_element (VIEW_NODE, &show_ip_mfib_count_cmd);
install_element (VIEW_NODE, &show_ip_mroute_cmd);
install_element (VIEW_NODE, &show_ip_ssmpingd_cmd);
install_element (VIEW_NODE, &show_debugging_cmd);
@@ -4200,8 +4200,8 @@ void pim_cmd_init()
install_element (ENABLE_NODE, &show_ip_pim_upstream_join_desired_cmd);
install_element (ENABLE_NODE, &show_ip_pim_upstream_rpf_cmd);
install_element (ENABLE_NODE, &show_ip_multicast_cmd);
- install_element (ENABLE_NODE, &show_ip_mroute_cmd);
- install_element (ENABLE_NODE, &show_ip_mroute_count_cmd);
+ install_element (ENABLE_NODE, &show_ip_mfib_cmd);
+ install_element (ENABLE_NODE, &show_ip_mfib_count_cmd);
install_element (ENABLE_NODE, &show_ip_mroute_cmd);
install_element (ENABLE_NODE, &show_ip_ssmpingd_cmd);
install_element (ENABLE_NODE, &show_debugging_cmd);