mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 03:47:47 +00:00
Merge pull request #14323 from donaldsharp/name_pretty
bgpd: When using `show bgp peerhash` don't display (NULL)
This commit is contained in:
commit
e903db3ab3
@ -15571,8 +15571,8 @@ 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