summaryrefslogtreecommitdiff
path: root/ripd/rip_debug.c
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2016-09-22 23:51:23 +0000
committerDaniel Walton <dwalton@cumulusnetworks.com>2016-09-22 23:51:23 +0000
commitdd4f9f99ed4f5012e11a1c1eed0180345217eaa9 (patch)
treee836d5035fed1c6f2e7e4d6bd29b5a12dbc5bee3 /ripd/rip_debug.c
parent7fcbbdaeb6fca9632811792e74b0ebd11ffab214 (diff)
ripngd: argv update
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'ripd/rip_debug.c')
-rw-r--r--ripd/rip_debug.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/ripd/rip_debug.c b/ripd/rip_debug.c
index a267874ade..81d74bf852 100644
--- a/ripd/rip_debug.c
+++ b/ripd/rip_debug.c
@@ -105,26 +105,6 @@ DEFUN (debug_rip_packet_direct,
return CMD_SUCCESS;
}
-/* N.B. the "detail" modifier is a no-op. we leave this command
- for legacy compatibility. */
-DEFUN_DEPRECATED (debug_rip_packet_detail,
- debug_rip_packet_detail_cmd,
- "debug rip packet (recv|send) detail",
- DEBUG_STR
- RIP_STR
- "RIP packet\n"
- "RIP receive packet\n"
- "RIP send packet\n"
- "Detailed information display\n")
-{
- rip_debug_packet |= RIP_DEBUG_PACKET;
- if (strncmp ("send", argv[0], strlen (argv[0])) == 0)
- rip_debug_packet |= RIP_DEBUG_SEND;
- if (strncmp ("recv", argv[0], strlen (argv[0])) == 0)
- rip_debug_packet |= RIP_DEBUG_RECV;
- return CMD_SUCCESS;
-}
-
DEFUN (debug_rip_zebra,
debug_rip_zebra_cmd,
"debug rip zebra",
@@ -265,7 +245,6 @@ rip_debug_init (void)
install_element (ENABLE_NODE, &debug_rip_events_cmd);
install_element (ENABLE_NODE, &debug_rip_packet_cmd);
install_element (ENABLE_NODE, &debug_rip_packet_direct_cmd);
- install_element (ENABLE_NODE, &debug_rip_packet_detail_cmd);
install_element (ENABLE_NODE, &debug_rip_zebra_cmd);
install_element (ENABLE_NODE, &no_debug_rip_events_cmd);
install_element (ENABLE_NODE, &no_debug_rip_packet_cmd);
@@ -275,7 +254,6 @@ rip_debug_init (void)
install_element (CONFIG_NODE, &debug_rip_events_cmd);
install_element (CONFIG_NODE, &debug_rip_packet_cmd);
install_element (CONFIG_NODE, &debug_rip_packet_direct_cmd);
- install_element (CONFIG_NODE, &debug_rip_packet_detail_cmd);
install_element (CONFIG_NODE, &debug_rip_zebra_cmd);
install_element (CONFIG_NODE, &no_debug_rip_events_cmd);
install_element (CONFIG_NODE, &no_debug_rip_packet_cmd);