diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2024-01-09 12:21:09 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-09 12:21:09 -0500 |
| commit | 153ab6eb43c7a2a5450afe75a78c7489041300fb (patch) | |
| tree | a0c36c72e586fa227c0574f7ff26b69b27be1ca8 /bgpd/bgp_debug.c | |
| parent | 6c8706802a3eb82e369a32033e7777a1f264161e (diff) | |
| parent | 546fe3144c06131c95b32938c4a2eafd8f5ff64c (diff) | |
Merge pull request #15122 from opensourcerouting/fix/drop_packet_send_debugs
bgpd: Change printing format show debugging for debug bgp updates
Diffstat (limited to 'bgpd/bgp_debug.c')
| -rw-r--r-- | bgpd/bgp_debug.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bgpd/bgp_debug.c b/bgpd/bgp_debug.c index 20608b295c..bd5d94908e 100644 --- a/bgpd/bgp_debug.c +++ b/bgpd/bgp_debug.c @@ -234,10 +234,10 @@ static void bgp_debug_list_print(struct vty *vty, const char *desc, vty_out(vty, "%s", desc); if (list && !list_isempty(list)) { - vty_out(vty, " for"); + vty_out(vty, " for:\n"); for (ALL_LIST_ELEMENTS(list, node, nnode, filter)) { if (filter->host) - vty_out(vty, " %s", filter->host); + vty_out(vty, " %s", filter->host); if (filter->plist_name) vty_out(vty, " with prefix-list %s", @@ -247,6 +247,8 @@ static void bgp_debug_list_print(struct vty *vty, const char *desc, bgp_debug_print_evpn_prefix(vty, "", filter->p); else if (filter->p) vty_out(vty, " %pFX", filter->p); + + vty_out(vty, "\n"); } } |
