diff options
| author | Quentin Young <qlyoung@users.noreply.github.com> | 2020-07-14 15:37:14 -0400 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2020-07-14 15:38:20 -0400 |
| commit | 1d4cfa5de1ab31b1a74e57d17af80f324a20d1bb (patch) | |
| tree | fa4f619efa6662896337e132d87ae8675f33af73 /bgpd/bgp_debug.c | |
| parent | 35d78b8b8686e4aba447b94cd9707094641718ea (diff) | |
Revert "Rpki Encapsulation"revert-5015-rpki_vrf_encapsulation
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_debug.c')
| -rw-r--r-- | bgpd/bgp_debug.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/bgpd/bgp_debug.c b/bgpd/bgp_debug.c index f3d387a0e1..2ca9e5ee13 100644 --- a/bgpd/bgp_debug.c +++ b/bgpd/bgp_debug.c @@ -30,7 +30,6 @@ #include "memory.h" #include "queue.h" #include "filter.h" -#include "hook.h" #include "bgpd/bgpd.h" #include "bgpd/bgp_aspath.h" @@ -48,9 +47,6 @@ #include "bgpd/bgp_vty.h" #include "bgpd/bgp_flowspec.h" -DEFINE_HOOK(bgp_hook_config_write_debug, (struct vty *vty, bool running), - (vty, running)) - unsigned long conf_bgp_debug_as4; unsigned long conf_bgp_debug_neighbor_events; unsigned long conf_bgp_debug_events; @@ -2172,7 +2168,7 @@ DEFUN_NOSH (show_debugging_bgp, vty_out(vty, " BGP policy based routing debugging is on\n"); if (BGP_DEBUG(pbr, PBR_ERROR)) vty_out(vty, " BGP policy based routing error debugging is on\n"); - hook_call(bgp_hook_config_write_debug, vty, false); + vty_out(vty, "\n"); return CMD_SUCCESS; } @@ -2288,9 +2284,6 @@ static int bgp_config_write_debug(struct vty *vty) vty_out(vty, "debug bgp graceful-restart\n"); write++; } - - if (hook_call(bgp_hook_config_write_debug, vty, true)) - write++; return write; } |
