summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_debug.c
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2022-06-28 16:38:57 +0200
committerGitHub <noreply@github.com>2022-06-28 16:38:57 +0200
commit613025ef1090b685ab2112cd3617f25845c11858 (patch)
treea833b65c3905c2780ab169394fd2541cb14e78f0 /bgpd/bgp_debug.c
parentMerge pull request #11454 from routingrocks/evpn_clag_frrlogs (diff)
parentbgpd: Remove 'debug bgp allow-martian' (diff)
downloadfrr-613025ef1090b685ab2112cd3617f25845c11858.tar.xz
frr-613025ef1090b685ab2112cd3617f25845c11858.zip
Merge pull request #11093 from donaldsharp/allow_martians
Allow martians
Diffstat (limited to 'bgpd/bgp_debug.c')
-rw-r--r--bgpd/bgp_debug.c38
1 files changed, 0 insertions, 38 deletions
diff --git a/bgpd/bgp_debug.c b/bgpd/bgp_debug.c
index fbe967d8b..d0ab88ee1 100644
--- a/bgpd/bgp_debug.c
+++ b/bgpd/bgp_debug.c
@@ -1810,40 +1810,6 @@ DEFUN (no_debug_bgp_zebra_prefix,
return CMD_SUCCESS;
}
-DEFUN (debug_bgp_allow_martians,
- debug_bgp_allow_martians_cmd,
- "debug bgp allow-martians",
- DEBUG_STR
- BGP_STR
- "BGP allow martian next hops\n")
-{
- if (vty->node == CONFIG_NODE)
- DEBUG_ON(allow_martians, ALLOW_MARTIANS);
- else {
- TERM_DEBUG_ON(allow_martians, ALLOW_MARTIANS);
- vty_out(vty, "BGP allow_martian next hop debugging is on\n");
- }
- return CMD_SUCCESS;
-}
-
-DEFUN (no_debug_bgp_allow_martians,
- no_debug_bgp_allow_martians_cmd,
- "no debug bgp allow-martians",
- NO_STR
- DEBUG_STR
- BGP_STR
- "BGP allow martian next hops\n")
-{
- if (vty->node == CONFIG_NODE)
- DEBUG_OFF(allow_martians, ALLOW_MARTIANS);
- else {
- TERM_DEBUG_OFF(allow_martians, ALLOW_MARTIANS);
- vty_out(vty, "BGP allow martian next hop debugging is off\n");
- }
- return CMD_SUCCESS;
-}
-
-
/* debug bgp update-groups */
DEFUN (debug_bgp_update_groups,
debug_bgp_update_groups_cmd,
@@ -2439,8 +2405,6 @@ void bgp_debug_init(void)
install_element(CONFIG_NODE, &debug_bgp_update_cmd);
install_element(ENABLE_NODE, &debug_bgp_zebra_cmd);
install_element(CONFIG_NODE, &debug_bgp_zebra_cmd);
- install_element(ENABLE_NODE, &debug_bgp_allow_martians_cmd);
- install_element(CONFIG_NODE, &debug_bgp_allow_martians_cmd);
install_element(ENABLE_NODE, &debug_bgp_update_groups_cmd);
install_element(CONFIG_NODE, &debug_bgp_update_groups_cmd);
install_element(ENABLE_NODE, &debug_bgp_bestpath_prefix_cmd);
@@ -2504,8 +2468,6 @@ void bgp_debug_init(void)
install_element(CONFIG_NODE, &no_debug_bgp_update_cmd);
install_element(ENABLE_NODE, &no_debug_bgp_zebra_cmd);
install_element(CONFIG_NODE, &no_debug_bgp_zebra_cmd);
- install_element(ENABLE_NODE, &no_debug_bgp_allow_martians_cmd);
- install_element(CONFIG_NODE, &no_debug_bgp_allow_martians_cmd);
install_element(ENABLE_NODE, &no_debug_bgp_update_groups_cmd);
install_element(CONFIG_NODE, &no_debug_bgp_update_groups_cmd);
install_element(ENABLE_NODE, &no_debug_bgp_cmd);