diff options
| author | Mark Stapp <mjs@voltanet.io> | 2019-04-11 11:46:40 -0400 |
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2019-04-11 11:46:40 -0400 |
| commit | 35a1272051315544b65e40d6cc0f85df62df1c66 (patch) | |
| tree | afc87821ebe58bc5dbf72884f838cb56f97896f3 /pimd/pim_cmd.c | |
| parent | d53387edbef3be8bf145a68127d79fbbe846038f (diff) | |
pimd: use debug pim static
Replace cli 'debug static' with 'debug pim static', to make
the 'debug static' node available for staticd (eventually).
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'pimd/pim_cmd.c')
| -rw-r--r-- | pimd/pim_cmd.c | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c index 1a30904e21..afeda723e2 100644 --- a/pimd/pim_cmd.c +++ b/pimd/pim_cmd.c @@ -7068,21 +7068,23 @@ DEFUN (no_debug_mroute_detail, return CMD_SUCCESS; } -DEFUN (debug_static, - debug_static_cmd, - "debug static", +DEFUN (debug_pim_static, + debug_pim_static_cmd, + "debug pim static", DEBUG_STR + DEBUG_PIM_STR DEBUG_STATIC_STR) { PIM_DO_DEBUG_STATIC; return CMD_SUCCESS; } -DEFUN (no_debug_static, - no_debug_static_cmd, - "no debug static", +DEFUN (no_debug_pim_static, + no_debug_pim_static_cmd, + "no debug pim static", NO_STR DEBUG_STR + DEBUG_PIM_STR DEBUG_STATIC_STR) { PIM_DONT_DEBUG_STATIC; @@ -8867,8 +8869,8 @@ void pim_cmd_init(void) install_element(ENABLE_NODE, &debug_mroute_detail_cmd); install_element(ENABLE_NODE, &no_debug_mroute_cmd); install_element(ENABLE_NODE, &no_debug_mroute_detail_cmd); - install_element(ENABLE_NODE, &debug_static_cmd); - install_element(ENABLE_NODE, &no_debug_static_cmd); + install_element(ENABLE_NODE, &debug_pim_static_cmd); + install_element(ENABLE_NODE, &no_debug_pim_static_cmd); install_element(ENABLE_NODE, &debug_pim_cmd); install_element(ENABLE_NODE, &no_debug_pim_cmd); install_element(ENABLE_NODE, &debug_pim_nht_cmd); @@ -8912,8 +8914,8 @@ void pim_cmd_init(void) install_element(CONFIG_NODE, &debug_mroute_detail_cmd); install_element(CONFIG_NODE, &no_debug_mroute_cmd); install_element(CONFIG_NODE, &no_debug_mroute_detail_cmd); - install_element(CONFIG_NODE, &debug_static_cmd); - install_element(CONFIG_NODE, &no_debug_static_cmd); + install_element(CONFIG_NODE, &debug_pim_static_cmd); + install_element(CONFIG_NODE, &no_debug_pim_static_cmd); install_element(CONFIG_NODE, &debug_pim_cmd); install_element(CONFIG_NODE, &no_debug_pim_cmd); install_element(CONFIG_NODE, &debug_pim_nht_cmd); |
