mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-08 20:19:16 +00:00
bgpd: When using show bgp peerhash
don't display (NULL)
Fix up the output to not display a (NULL) output for the bgp name Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
c4f761d8ea
commit
2bc08688da
@ -15571,8 +15571,8 @@ DEFUN (show_bgp_peerhash,
|
||||
struct bgp *bgp;
|
||||
|
||||
for (ALL_LIST_ELEMENTS_RO(instances, node, bgp)) {
|
||||
vty_out(vty, "BGP: %s\n", bgp->name);
|
||||
hash_iterate(bgp->peerhash, show_bgp_peerhash_entry,
|
||||
vty_out(vty, "BGP: %s\n", bgp->name_pretty);
|
||||
hash_iterate(bgp->peerhash, show_bgp_peerhash_entry,
|
||||
vty);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user