mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 13:46:45 +00:00
Merge pull request #15122 from opensourcerouting/fix/drop_packet_send_debugs
bgpd: Change printing format show debugging for debug bgp updates
This commit is contained in:
commit
153ab6eb43
@ -234,7 +234,7 @@ static void bgp_debug_list_print(struct vty *vty, const char *desc,
|
|||||||
vty_out(vty, "%s", desc);
|
vty_out(vty, "%s", desc);
|
||||||
|
|
||||||
if (list && !list_isempty(list)) {
|
if (list && !list_isempty(list)) {
|
||||||
vty_out(vty, " for");
|
vty_out(vty, " for:\n");
|
||||||
for (ALL_LIST_ELEMENTS(list, node, nnode, filter)) {
|
for (ALL_LIST_ELEMENTS(list, node, nnode, filter)) {
|
||||||
if (filter->host)
|
if (filter->host)
|
||||||
vty_out(vty, " %s", filter->host);
|
vty_out(vty, " %s", filter->host);
|
||||||
@ -247,6 +247,8 @@ static void bgp_debug_list_print(struct vty *vty, const char *desc,
|
|||||||
bgp_debug_print_evpn_prefix(vty, "", filter->p);
|
bgp_debug_print_evpn_prefix(vty, "", filter->p);
|
||||||
else if (filter->p)
|
else if (filter->p)
|
||||||
vty_out(vty, " %pFX", filter->p);
|
vty_out(vty, " %pFX", filter->p);
|
||||||
|
|
||||||
|
vty_out(vty, "\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -128,9 +128,6 @@ struct bgp_debug_filter {
|
|||||||
#define BGP_DEBUG_EVPN_MH_ES 0x01
|
#define BGP_DEBUG_EVPN_MH_ES 0x01
|
||||||
#define BGP_DEBUG_EVPN_MH_RT 0x02
|
#define BGP_DEBUG_EVPN_MH_RT 0x02
|
||||||
|
|
||||||
#define BGP_DEBUG_PACKET_SEND 0x01
|
|
||||||
#define BGP_DEBUG_PACKET_SEND_DETAIL 0x02
|
|
||||||
|
|
||||||
#define BGP_DEBUG_GRACEFUL_RESTART 0x01
|
#define BGP_DEBUG_GRACEFUL_RESTART 0x01
|
||||||
|
|
||||||
#define BGP_DEBUG_BFD_LIB 0x01
|
#define BGP_DEBUG_BFD_LIB 0x01
|
||||||
|
Loading…
Reference in New Issue
Block a user