mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-09 22:07:08 +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,7 +15571,7 @@ DEFUN (show_bgp_peerhash,
|
|||||||
struct bgp *bgp;
|
struct bgp *bgp;
|
||||||
|
|
||||||
for (ALL_LIST_ELEMENTS_RO(instances, node, bgp)) {
|
for (ALL_LIST_ELEMENTS_RO(instances, node, bgp)) {
|
||||||
vty_out(vty, "BGP: %s\n", bgp->name);
|
vty_out(vty, "BGP: %s\n", bgp->name_pretty);
|
||||||
hash_iterate(bgp->peerhash, show_bgp_peerhash_entry,
|
hash_iterate(bgp->peerhash, show_bgp_peerhash_entry,
|
||||||
vty);
|
vty);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user